Repository navigation
chore: Usuwanie scalonych gałęzi bez kasowania develop - #4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co i dlaczego
"Automatically delete head branches" kasuje
developpo każdym PR wydania (develop->main), bo na darmowym planie nie ma ochrony gałęzi. Ten PR dodaje wspólny workflow, który po merge'u usuwa gałąź roboczą, ale nigdymainanidevelop. Po wdrożeniu go we wszystkich repozytoriach wyłączymy automatyczne usuwanie w ustawieniach.Powiązane issue
brak
Lista zmian
delete-merged-branch.yml(workflow_call): po merge'u usuwa gałąź z PR przez API; pomija PR zamknięte bez merge'a, forki,main,developi gałęzie, które są bazą otwartego PR; 404/422 traktuje jako "już usunięta"; opcjonalnie uruchamia workflow sprzątania podglądów (cleanup-workflow), bo usunięcie przezGITHUB_TOKENnie wywołuje zdarzeniadeletedelete-merged-branch-caller.yml: wywołanie w tym repozytoriumCONTRIBUTING.md: kto usuwa gałęzie po merge'u, PR wydania prosto zdevelopJak przetestować
chore/delete-merged-branchznika (workflow uruchomił się już przy zamknięciu tego PR)tuttitrip-backend: PRdocs:dodeveloppo merge'u znika, a po PR wydaniadevelop->maingałąźdevelopzostajeZrzuty ekranu
nie dotyczy
Checklista
ubuntu-latest, nie pobiera kodu, nazwa gałęzi tylko zcontext.payload