Skip to content

Pin GitHub Actions to commit SHAs - #138

Merged
goanpeca merged 1 commit into
mainfrom
chore/pin-actions
Nov 13, 2026
Merged

goanpeca merged 1 commit into
mainfrom
chore/pin-actions

Conversation

@goanpeca

Copy link
Copy Markdown
Contributor

Pins every GitHub Action in this repo to a full commit SHA, with the exact release in a comment (owner/action@<sha> # vX.Y.Z), so a moved or hijacked tag can't change what runs.

Each action moves to the newest release of the major version this repo already uses, so behaviour should not change. Where files used different majors of the same action, they now all use the highest one already in the repo. Upgrades to newer major versions come in separate PRs.

Action Was Now
actions/checkout v7 v7.0.1
actions/deploy-pages v5 v5.0.1
actions/setup-node v6 v6.5.0
actions/upload-artifact v6 v6.0.0
actions/upload-pages-artifact v5 v5.0.0

Signed-off-by: Gonzalo Peña-Castellanos <goanpeca@gmail.com>
@goanpeca
goanpeca merged commit 8476803 into main Nov 13, 2026
6 checks passed
@goanpeca
goanpeca deleted the chore/pin-actions branch November 13, 2026 12:56
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