ci: real merge gate (ci + secret-scan) and SHA-pinned actions - #3
Merged
Merged
Conversation
The required status checks `ci` and `secret-scan` had no producing job in any repo, so no PR could pass branch protection and every merge used the admin bypass (PBA-L7-001). merge-gate.yml adds both: secret-scan runs checksum-pinned gitleaks over the commits a change introduces (+ the canonical-slug tripwire); ci waits for every other check on the head commit and fails if any failed. All actions are now pinned to full commit SHAs with the version as a comment (PBA-L6-003); dtolnay/rust-toolchain steps name their toolchain explicitly so pinning does not change which Rust is installed. Each workflow was verified structurally identical apart from the refs. Audit: citrate-security 2026-09-24-prebounty-adversarial-audit, WP R1.3. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FYQkdsk54yob6FD24jAT8P
Claim grader (shadow mode)Each commit / PR-text element scored against the claim-compression rubric. Shadow mode: this comment is informational; merge is not blocked.
|
A run cancelled because a duplicate (push + pull_request in one concurrency group) superseded it was counted as a failure. Now: wait while any run of a check is pending; otherwise judge its most recent non-cancelled result; a check whose every run was cancelled still fails. Reads all check runs (paginated), not just the latest per name. Verified on six fixtures. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FYQkdsk54yob6FD24jAT8P
Claim grader (shadow mode)Each commit / PR-text element scored against the claim-compression rubric. Shadow mode: this comment is informational; merge is not blocked.
|
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.
Pre-bounty audit WP R1.3 (PBA-L7-001, PBA-L6-003).
.github/workflows/merge-gate.ymlwith jobs named exactlyciandsecret-scan(the required checks, which previously had no producer, so every merge needed the admin bypass).secret-scan: gitleaks 8.30.1 (checksum-verified) over the commits this change introduces, plus the canonical-slug tripwire if present.ci: waits for every other check run on the head commit and fails if any failed.uses:to a full commit SHA (# vXcomment kept);dtolnay/rust-toolchainsteps get an explicittoolchain:. Each workflow verified structurally identical apart from refs.Once this merges everywhere, required checks move to a no-bypass ruleset bound to GitHub Actions.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FYQkdsk54yob6FD24jAT8P