Repository navigation
ci(review): Viewed 전체 체크된 승인 PR 에 자동 머지를 예약한다 (#2248) - #2249
Merged
Merged
Conversation
Contributor
🚧 리뷰 적체 가드 — 이 PR 을 닫습니다작성자 응답 대기 · 1건
이 저장소는 팀 리뷰 응답 또는 자기가 담당하는 PR 의 변경요청 대응을 기다리는 PR 이 1건이라도 남아 있으면 새 PR 을 열 수 없습니다 (#1136, #1679). PR 의 담당자는 올린 사람이 아니라 어사인된 사람입니다(어사인이 비어 있으면 작성자, #1974). 되살리는 법위 PR 에 필요한 리뷰나 작성자 조치를 끝낸 뒤 이 PR 을 다시 여세요. 브랜치는 지워지지 않았고 커밋도 그대로입니다. gh pr reopen 2249 |
OnlyReadOneBook
marked this pull request as ready for review
October 4, 2026 07:09
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.
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
viewed-auto-merge.yml을 추가했다. 10분 주기와 리뷰 판정 리컨사일 완료 때 열린develop대상 PR 을 훑어, 1hyok 가 모든 파일을 Viewed 로 체크했고 reviewDecision 이 APPROVED 면gh pr merge --match-head-commit <HEAD>로 Merge when ready 를 건다. merge queue 대상이라 check 가 남았으면 auto-merge 예약, 끝났으면 바로 큐 투입이다.VIEWED_TOKEN시크릿으로 읽는다. 토큰 주인이VIEWED_BY와 다르면 실패시키고, 시크릿이 없으면 건너뛴다. 예약 쓰기는GITHUB_TOKEN이 한다.DISMISSED로 되돌리므로 새 커밋은 다시 봐야 대상이 된다. 변경 파일 수와 읽은 파일 수가 다르면 다 봤다고 단정하지 않는다.--admin은 쓰지 않는다. CI 가 빨갛거나 승인이 모자라면 GitHub 가 머지하지 않는다.🧪 CI Test Plan
{ "androidTest": { "mode": "none", "reason": "워크플로·자동화 스크립트·README 만 바꿔 앱 코드와 계측 테스트 경계에 닿지 않는다", "tests": [] } }📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
없음 (CI 설정 변경)
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
node --test .github/scripts/*.test.mjs802건, actionlint, 변경 경로 Repository Quality 통과.VIEWED_TOKEN시크릿(1hyok fine-grained, 이 저장소 Pull requests: Read)이 있어야 동작한다. 실제 동작은 머지 뒤 첫 대상 PR 의 run 로그로 확인한다.