Skip to content

fix: clear the three gates tripped by the lockfile adoption - #572

Merged
hyperpolymath merged 3 commits into
mainfrom
lockfile-enforcement-reusables
Aug 3, 2026
Merged

fix: clear the three gates tripped by the lockfile adoption#572
hyperpolymath merged 3 commits into
mainfrom
lockfile-enforcement-reusables

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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.pyrelock-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

hyperpolymath and others added 3 commits August 3, 2026 19:44
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>
- SPDX header back on line 1 of all 38 workflows (the managed-by marker
  had displaced it; workflow security linter requires SPDX first)
- check-allowed-actions.sh: treat gh actions-lock's $/ same-repo form
  like ./ (inherently pinned, not an allowlist gap)
- relock-sha-keys: ship as bash + embedded python heredoc (same pattern
  as check-allowed-actions.sh) — standalone .py files are a banned
  language under the estate policy. End-to-end verified: fresh
  'gh actions-lock' + workflow restore + this script reproduces the
  committed lockfile byte-for-byte.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit fcb8669 into main Aug 3, 2026
13 of 16 checks passed
@hyperpolymath
hyperpolymath deleted the lockfile-enforcement-reusables branch August 3, 2026 18:54
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

@gitar-bot

gitar-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown

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.
Learn more

Code Review ✅ Approved

Restores SPDX headers, updates the action allowlist preflight script to support same-repo pinned actions, and converts the Python relock script to a bash wrapper with an embedded heredoc. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant