Repository navigation
ci: fix auto-merge token/failures, disable unused prow commands - #12
Merged
sykim-etri merged 1 commit intoJul 27, 2026
Merged
Conversation
sykim-etri
force-pushed
the
ci/auto-merge-error-fail
branch
from
July 27, 2026 05:28
29de6e6 to
f636866
Compare
Two fixes to the /approve auto-merge: - The workflow authenticated with secrets.CR_PAT, which does not exist in this org (only CR_PAT_RWD is defined, as used by the image builds). With no token the merge silently never happened. Point every CR_PAT reference at CR_PAT_RWD. - Set MERGE_ERROR_FAIL so a rejected merge surfaces as a failed check instead of a green one (automerge-action otherwise exits 0). Note CR_PAT_RWD still needs the 'workflow' scope to merge PRs that touch .github/workflows/.
sykim-etri
force-pushed
the
ci/auto-merge-error-fail
branch
from
July 27, 2026 05:37
f636866 to
55a9da0
Compare
Contributor
Author
|
/approve |
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.
Fixes the
/approveauto-merge and removes the conflicting prow handler.secrets.CR_PAT, which does not exist in this org (onlyCR_PAT_RWDis defined, as used by the image builds). With no token the bot merge silently never happened. Point every reference atCR_PAT_RWD.MERGE_ERROR_FAILso a rejected merge shows as a failed check instead of a silent green.prow-commands.ymlis unused, and its/approvehandler collides with auto-merge's/approve, failing with "not a org member or collaborator" (the defaultGITHUB_TOKENcannot read org membership). Renamed to.disabled.Note:
CR_PAT_RWDstill needs theworkflowscope to merge PRs that touch.github/workflows/.