Skip to content

Pin GitHub Actions to commit SHAs - #3

Merged
jdbg merged 1 commit into
mainfrom
pin-actions-to-shas
Sep 20, 2026
Merged

jdbg merged 1 commit into
mainfrom
pin-actions-to-shas

Conversation

@tomjn

@tomjn tomjn commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Both workflows used moving major tags, and the release job runs with contents: write. A tag can be repointed at new code, a SHA cannot.

Each pin is the commit the major tag pointed at today, so nothing changes in behaviour. actions/checkout and actions/setup-node both have a newer major upstream. I left those bumps out so this PR stays a no-op.

A major tag like v5 can be moved to point at new code, and the release job runs with contents: write. A SHA cannot move. Each pin is the commit the major tag pointed at today, so behaviour does not change.
@jdbg
jdbg merged commit 9a29ba3 into main Sep 20, 2026
1 check passed
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