ci: bump do-not-merge-gate pin to the gh-CLI-free revision - #332
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1f4f21851a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Claude finished @kyle-sexton's task in 1m 51s —— View job PR Review
SummaryThe change is a targeted, correct pin bump: The rest of the file is unchanged and correct: the FindingsBlocker —
The auto-approval path in if (matchedBasis.contract.selectorResultInput) {
diagnostics.set(reference,
`… fail-closed selector-result reporter; its required-check behavior cannot be proven unchanged by this surface diff, so auto-approval is declined`);
continue;
}The Fix: add a new entry to "melodic-software/ci-workflows/.github/workflows/do-not-merge-gate.yml@90f1c54935203fa31b5b3d1f41531228be2c2b7f": {
"routing": "runner-input",
"runnerInput": "runner",
"selectorResultInput": "prerequisite-result",
"allowedInputs": ["runner", "prerequisite-result", "label"],
"allowedSecrets": {}
}This confirms the Codex P1 finding. The blocker is consistent with the policy's design intent: contracts with |
…I-free SHA (#190) ## Summary Advances the reviewed runner-input contract key for the `do-not-merge-gate` reusable from `8853021` to `90f1c54` (melodic-software/ci-workflows#144 — label refetch via `actions/github-script` instead of `gh api`, fixing exit-127 failures on self-hosted runners without the gh CLI). Input surface is unchanged: `runner`, `prerequisite-result`, `label`; no secrets; same routing (`runner-input`). SHA re-review only. Consumer follow-up: melodic-software/claude-code-plugins#332 bumps the workflow pin and is blocked on this entry syncing. No linked issue ## Related - melodic-software/ci-workflows#144 (the gate fix) - melodic-software/claude-code-plugins#332 (blocked consumer pin bump) ## Verification - `policy.json` parses; biome/typos/gitleaks/editorconfig pre-commit lanes pass; entry identical apart from the SHA 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 (1M context) <noreply@anthropic.com>
The prior pin ran `gh api` on the caller-selected runner; the self-hosted image ships no gh CLI, so the check failed exit 127 with no blocking label present (observed on #330). The bumped revision refetches labels via actions/github-script (ci-workflows#144). Co-Authored-By: Claude Fable 5 (1M context) <noreply@anthropic.com>
1f4f218 to
fcee948
Compare
|
Claude finished @kyle-sexton's task in 1m 30s —— View job PR Review
SummaryThe workflow change itself is correct: The branch is one commit ahead of main with a single-line change — exactly as expected for a pin bump. FindingsBlocker — Contrary to the resolution comment ("sync PR #334 delivered it to The The PR description notes this PR was rebased onto the main that includes PR #334, but #334's sync did not add the new contract — the SHA is absent from the file in the working tree right now. Fix needed — add to "melodic-software/ci-workflows/.github/workflows/do-not-merge-gate.yml@90f1c54935203fa31b5b3d1f41531228be2c2b7f": {
"routing": "runner-input",
"runnerInput": "runner",
"selectorResultInput": "prerequisite-result",
"allowedInputs": ["runner", "prerequisite-result", "label"],
"allowedSecrets": {}
} |
## What Move the ci-workflows compatibility pin `c36e881` (v0.5.0) → `90f1c54` (v0.6.1) across all 20 workflow references, the pin-metadata test constants, and `release/dependencies.json`. ## Why v0.5.0's `do-not-merge-gate` shells `gh` in its label refetch; v0.6.1 carries the github-script rewrite (melodic-software/ci-workflows#144) plus the ubuntu-slim fallback removal (melodic-software/ci-workflows#141). This repo's Product policy gate requires every ci-workflows reference to move as one reviewed pin with a canonical `@<sha> # vX.Y.Z` comment, so the org's narrow gate-only bump pattern converges here as a full pin move instead. ## Verification All 28 `.github/scripts` tests pass locally, including the pin-metadata inventory (20 references, one SHA, one release). This PR's own do-not-merge run resolves the bumped ref. `git grep c36e881` = 0. v0.5.0..v0.6.1 caller impact reviewed: new `link-check` inputs all carry defaults; fallback runner labels and gate internals changed inside the reusables only. No caller contract changes. ## Related No linked issue. Sibling bumps: melodic-software/provisioning#167, melodic-software/claude-code-plugins#332, melodic-software/dotfiles#220; gate fix melodic-software/ci-workflows#144. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01YZxBP1B8Hf7ZRaqDrP6ma9 --------- Co-authored-by: Claude Fable 5 (1M context) <noreply@anthropic.com>
Summary
Bumps the
do-not-merge-gatereusable pin to ci-workflows90f1c54(melodic-software/ci-workflows#144): the label refetch now runs viaactions/github-scriptinstead ofgh api, so the required-context no longer failsexit 127: gh: command not foundon self-hosted runners without the gh CLI (observed on #330).This PR's own
do-not-merge / do-not-mergecheck still runs the OLD pin from main (pull_request_targetevaluates the base-branch definition) and may fail the same way — expected until this merges; the check is not in the required set.No linked issue
Related
Verification
🤖 Generated with Claude Code