You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci(merge-queue): GITHUB_TOKEN 으로 큐에 넣은 PR 은 merge_group CI 가 돌지 않아 60분 막힌다 #2254
viewed-auto-merge.yml(#2248)과 merge-queue-dequeue.yml 의 재투입이 GITHUB_TOKEN 으로 PR 을 큐에 넣는다. GitHub 은 GITHUB_TOKEN 으로 일으킨 이벤트로 워크플로를 띄우지 않으므로, 이렇게 넣은 merge group 에는 체크가 하나도 생기지 않는다. 큐는 check timeout(60분)까지 맨 앞을 붙잡았다가 CI_TIMEOUT 으로 빼고, 그 뒤에 쌓인 PR 들도 base 가 바뀌어 처음부터 다시 검증한다.
수정 범위: 큐 투입과 auto-merge 예약을 사람 토큰(MERGE_QUEUE_TOKEN 시크릿, 1hyok 의 fine-grained PAT)으로 한다. 방출 처리 워크플로는 pull_request_target 브리지라 시크릿을 쓰지 않는 불변식(create-ci-config.test.mjs)을 지키고, 재투입만 workflow_dispatch 워크플로로 넘긴다. 시크릿이 없으면 GITHUB_TOKEN 으로 넣지 않고 건너뛰거나 직접 투입을 안내한다.
자식 이슈
No response
참고
GitHub 문서: GITHUB_TOKEN 으로 일으킨 이벤트는 workflow_dispatch·repository_dispatch 를 빼고 새 워크플로를 만들지 않는다.
머지 전 저장소 시크릿 MERGE_QUEUE_TOKEN 이 있어야 자동 머지 예약이 다시 동작한다.
Activity
Merge pull request #2255 from Afternote/1hyok/nifty-carson-c0c0uq