Skip to content

Pin GitHub Actions to commit SHAs - #9

Open
goanpeca wants to merge 1 commit into
developfrom
chore/pin-actions
Open

goanpeca wants to merge 1 commit into
developfrom
chore/pin-actions

Conversation

@goanpeca

Copy link
Copy Markdown
Member

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 v1, v2 v2.8.0
actions/setup-node v1 v1.4.6
actions/setup-python v1 v1.2.4
github/codeql-action/analyze v1 v1.1.39
github/codeql-action/init v1 v1.1.39

Signed-off-by: Gonzalo Peña-Castellanos <goanpeca@gmail.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.

1 participant