Repository navigation
Remind before a merge when the pull request closes no issue - #787
Merged
Merged
Conversation
Hide and GitHub relate a pull request to an issue only through a closing keyword, and seven pull requests on 2026-10-06 and 10-07 finished an issue without one, so their issues were closed by hand and never linked. The pre-merge check now prints a note above the merge command; it never refuses, since some pull requests finish no issue.
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.
Related: yansfil/sasu#30 (
/ship merge가 이 검사를 매 머지마다 돌리고 출력을 보여 주게 하는 쪽)Summary
Hide와 GitHub은 PR과 이슈를
Closes #N같은 closing keyword로만 잇는데, 10-06~07에 이슈를 끝낸 PR 7개(#607 #612 #614 #622 #631 #634 #712)가 이 줄 없이 머지됐고 이슈는 손으로 닫혀 연결이 남지 않았습니다.이제
scripts/premerge-check.py가 닫는 이슈가 없는 PR에 머지 명령 바로 위에서 알림을 한 줄 찍습니다.막지는 않습니다. 이슈 없이 시작한 PR(PRD 작업, CI·문서 변경)도 많기 때문입니다.
Review
Evidence
test_premerge_check.py에 알림 유무 테스트 1개 추가,scripts/tests206개 통과,check-no-attribution통과.