Skip to content

chore: pin actions to SHAs, default token to read-only - #120

Merged
ryanlewis merged 1 commit into
mainfrom
chore/pin-actions-harden-permissions
Aug 5, 2026
Merged

ryanlewis merged 1 commit into
mainfrom
chore/pin-actions-harden-permissions

Conversation

@ryanlewis

Copy link
Copy Markdown
Owner

Part of the supply-chain hardening pass (same estate sweep as the shared Renovate config migration).

What changes

  • All uses: references pinned to full commit SHAs (via pinact), with the resolved version kept as a comment. A tag can be repointed by a compromised action repo; a SHA cannot — and the shared Renovate config refuses to automerge digest updates, so future repoints always get a human
  • Top-level permissions: contents: read added where no default was declared, so the workflow token starts read-only and jobs that need more must say so explicitly (existing job-level grants are untouched)

No behavioural change intended — same action versions, just immutable references.

https://claude.ai/code/session_01KpxDfrqPwQAYb2RT6mi1qW

@ryanlewis
ryanlewis merged commit a711313 into main Aug 5, 2026
1 check passed
@ryanlewis
ryanlewis deleted the chore/pin-actions-harden-permissions branch August 5, 2026 23:06
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