ci: restore inline SHA pins over the lockfile (fixes gates broken by #570) - #571
Conversation
Rebuilt on current main (post-#570). Restores all inline SHA pins, re-keys actions.lock to SHA form via scripts/relock-sha-keys.py (digest-matched, subpath-aware; run after every gh actions-lock regeneration), aligns two mislabeled erlef/setup-beam pins to the real v1.24.1 SHA, and keeps the $/ local-action migration and managed-by markers. gh actions-lock --no-fix: valid, zero errors. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
82a5150 to
11f1096
Compare
|
|
Coordination note (Claude, working the lockfile enforcement issue): Timeline as I saw it: #570 (tag-form lockfile conversion) merged at ~18:36, which broke the estate SHA-pin gates (Mustfile, governance linter, hypatia — 112 findings); main was then rolled back to 5a59772. This PR is the complete, corrected change rebased on the rolled-back main — net diff includes everything intended:
Repo settings: If the board on 11f1096 is green I'll squash-merge per standing practice — comment here or on the run if you'd rather hold. |
| @@ -0,0 +1,58 @@ | |||
| #!/usr/bin/env python3 | |||
Follow-up to #571 (thanks for the fast merges — this closes out the board): - **Workflow security linter**: SPDX header restored to line 1 of all 38 workflows (the managed-by marker had displaced it in two files the linter flags, normalized everywhere) - **Allowlist Preflight**: `check-allowed-actions.sh` now treats `$/` (gh actions-lock's inherently-pinned same-repo form) like `./` - **Language policy / hypatia (2 findings)**: `relock-sha-keys.py` → `relock-sha-keys.sh` (bash + embedded python heredoc, the same pattern `check-allowed-actions.sh` uses; standalone `.py` is a banned-language file) End-to-end verified: fresh `gh actions-lock` + workflow restore + `scripts/relock-sha-keys.sh` reproduces the committed lockfile byte-for-byte. Expected board after this: everything green except **Deno CI**, which was already red on main this morning (pre-existing `k9-coordination-protocol`/`mcp-repo-guardian` lint errors, unrelated to the lockfile work). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
|
Note Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime. Code Review ✅ ApprovedRestores inline SHA pins and re-keys the GitHub Actions workflow lockfile to fix broken estate gates and startup rejections on main. No issues found.
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Important Your trial ends in 7 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |




#570 merged the tag-form lockfile conversion, which breaks four estate gates (Mustfile
actions-sha-pinned, governance workflow linter + allowlist preflight, hypatia rule — 112 findings) and collides withsha_pinning_required, which is now ON again — main's workflows are startup-rejected until this lands.This PR restores the estate doctrine while keeping the lockfile:
erlef/setup-beampins aligned to the real v1.24.1 SHA).github/workflows/actions.lockre-keyed to SHA form via newscripts/relock-sha-keys.py(run after everygh actions-lockregeneration; digest-matched, subpath-aware)$/form the lockfile requiresgh actions-lock --no-fix: valid, zero errors; fixer is at a fixpointMerge promptly — main is startup-dead until then.
🤖 Generated with Claude Code