Skip to content

fix(ci): drop the unused top-level actions: read from scorecard-reusable - #602

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/scorecard-reusable-actions-read
Aug 10, 2026
Merged

fix(ci): drop the unused top-level actions: read from scorecard-reusable#602
hyperpolymath merged 1 commit into
mainfrom
fix/scorecard-reusable-actions-read

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Outcome

Every caller of scorecard-reusable.yml pinned at bd0df9ea or later that grants the estate-default contents: read (plus its own job needs) hits a 0-second startup_failure — OSSF Scorecard has never run once on enaction-engine (20/20), cadastra, or svalinn. This removes the cause at source.

Cause

The estate-wide security-compliance sweep (0ced540e) added top-level permissions: actions: read to this reusable. No job in the file uses it — the only job (scorecard) declares its own block (security-events: write, id-token: write). But a reusable's top-level permissions must be grantable by every caller, so the unused line broke callers that don't grant actions: read. rust-ci-reusable.yml documents the identical lesson from its own history ("the previous actions: read here was used by no job in this file, so every caller granting only contents: read failed to start").

Differential: consent-aware-web + project-ovine pin 81dbf2dd (pre-sweep, top-level contents: read only) → green. enaction-engine/cadastra/svalinn pin bd0df9ea (post-sweep) → all startup_fail.

Change

Delete the unused actions: read; keep contents: read; comment mirrors rust-ci-reusable's. Strictly permission-narrowing — callers granting more are unaffected; callers granting less can now start.

Scope note (no over-claim)

This helps callers only at the SHA they pin: repos pinned to bd0df9ea stay broken until they either re-pin past this fix or add actions: read caller-side (enaction-engine#39 does the latter and merges independently). cadastra / svalinn / chronicles-of-slavia should re-pin to a ref containing this commit at their next standards bump.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot

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

Removes the unused top-level actions: read permission from the scorecard reusable workflow to unblock strict callers. 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         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) August 10, 2026 12:17

@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)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Aug 10, 2026
@hyperpolymath
hyperpolymath disabled auto-merge August 10, 2026 12:39
@hyperpolymath
hyperpolymath merged commit 3d792a8 into main Aug 10, 2026
36 of 37 checks passed
@hyperpolymath
hyperpolymath deleted the fix/scorecard-reusable-actions-read branch August 10, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant