Repository navigation
fix(pr-assistant): honour do-not-merge and wip labels before merging - #302
Merged
Merged
Conversation
juninmd/mika#77 carried `do-not-merge` and was squash-merged: the skip only matched the exact `auto-merge-skip` label. Hold labels now match in any case or separator, are re-checked on the fresh PR right before the merge (a label added mid-run still wins) and block owner `/merge` too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn6JQKXBbpr22WLfj9njv4
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.
Requested by Antonio · project thread
Summary
do-not-mergee foi mesclado pelo pr-assistant. O skip só reconhecia a label exataauto-merge-skip.merge-block.ts: labels de bloqueiodo-not-merge,dont-merge,wip,work-in-progress,auto-merge-skip, em qualquer caixa ou separador (DO NOT MERGE,do_not_merge,don't merge,WIP...).agent.ts) e de novo no PR recém-relido emtryMerge(merge-flow.ts), então uma label adicionada durante a revisão ainda impede o merge. Também vale contra/mergedo dono: para mesclar, remova a label.merge_block_label: <label>(Telegram: "label de bloqueio (do-not-merge/wip)");docs/ARCHITECTURE.mdatualizado.Quality Checklist
Verification
Evidência (sem UI, então a prova é a saída dos testes no lugar de print):
Antes do fix (só
agent.ts/merge-flow.tsrevertidos), o teste de regressão falha:Depois:
Generated by Claude Code