Skip to content

fix(ci): re-pin standards reusables to lockfile-bearing ref - #342

Merged
hyperpolymath merged 3 commits into
mainfrom
fix/repin-standards-reusables
Aug 4, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
fix/repin-standards-reusables

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Caller-side lockfile enforcement demands actions.lock in the called repo at the pinned ref. standards shipped its lockfile (#570/#571/#572); these 7 callers still pinned pre-lockfile SHAs, so they remained startup_failure after #341 unbricked the inline workflows.

Re-pins governance, hypatia-scan, mirror, rust-ci, scorecard, secret-scanner, spark-theatre-gate to fcb8669169b4 (standards main, 2026-08-04). Every pin verified resolvable via the commits API.

Expected on this PR: the callers start (real jobs/conclusions). Honest reds are possible — the governance/hypatia reusables float ahead of echidna's 07-28 baseline — and are follow-up content work, strictly better than a gate that never runs.

Not fixed here: security-scan.yml calls hyperpolymath/panic-attack, which needs its own lockfile first.

🤖 Generated with Claude Code

Caller-side lockfile enforcement requires actions.lock in the CALLED
repo at the pinned ref. standards shipped its lockfile in #570 (gates
repaired in #571/#572); these callers were still pinned to May-July
SHAs whose trees predate it, so all 7 died as startup_failure even
after echidna's own lockfile landed (#341).

security-scan.yml is untouched: it calls hyperpolymath/panic-attack,
which needs its own lockfile before that caller can start.

Every new pin verified resolvable via the commits API (the first
attempt fabricated a SHA tail — the exact phantom-pin failure mode
this estate already measured 112 times).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Comment thread .github/workflows/main-estate-audit.yml Fixed
@gitar-bot

gitar-bot Bot commented Aug 4, 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

Re-pins CI standards reusables to lockfile-bearing ref fcb8669 to satisfy caller-side lockfile enforcement. 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 6 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more.

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) August 4, 2026 03:52
gitar-bot[bot]
gitar-bot Bot previously approved these changes Aug 4, 2026

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

…eaked audit file

The Governance run banner on this PR reads: 'The following workflows
are missing a lockfile: .github/workflows/governance.yml' — enforcement
requires EVERY workflow to appear in actions.lock, including pure
reusable callers, which gh actions-lock skips. Empty entries added for
the 8 callers (same cure as the zero-dep probe in #341).

main-estate-audit.yml was untracked scratch swept in by 'git add' —
removed from the branch; it references the nonexistent
hyperpolymath/cicd-suite repo and lacks an SPDX header (it caused both
the Central Estate CI/CD Audit startup_failure and the Workflow
Security Linter red on this PR).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Third enforcement layer surfaced by the re-pin (banner: "The workflow
is requesting 'actions: read', but is only allowed 'actions: none'"):
a reusable may not request more GITHUB_TOKEN permissions than its
caller grants. The fcb8669 reusables request actions: read
(governance, hypatia-scan, spark-theatre-gate, mirror, scorecard) and
security-events: write (hypatia-scan); the callers still granted the
old pins' narrower sets. Proof of the layer: rust-ci and
secret-scanner, whose reusables request only contents: read, ran real
jobs (5 and 3) on the previous push while these five died.

mirror and scorecard are patched proactively — they trigger on
push/schedule, so they would have hit the same wall on main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath force-pushed the fix/repin-standards-reusables branch from cf53630 to 38f5f4d Compare August 4, 2026 04:02
@hyperpolymath
hyperpolymath disabled auto-merge August 4, 2026 04:06
@hyperpolymath
hyperpolymath merged commit f147d14 into main Aug 4, 2026
46 of 51 checks passed
@hyperpolymath
hyperpolymath deleted the fix/repin-standards-reusables branch August 4, 2026 04:06
hyperpolymath added a commit that referenced this pull request Aug 4, 2026
…343)

Completes #342: scorecard-reusable's **job** requests `security-events:
write` + `id-token: write` beyond the workflow-level `actions:
read`/`contents: read`; caller grants must cover job-level requests too,
so OSSF Scorecard was the one re-pinned caller still dying at startup.
One file, four permission lines.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants