Skip to content

ci: pin GitHub Actions to full-length commit SHAs - #595

Open
inFocus7 wants to merge 4 commits into
mainfrom
ci/pin-actions-sha
Open

inFocus7 wants to merge 4 commits into
mainfrom
ci/pin-actions-sha

Conversation

@inFocus7

Copy link
Copy Markdown
Contributor

Context

Pin the GitHub Actions used by this repo's workflows and composite actions to full commit SHAs instead of mutable tags or branches, so a moved tag or a compromised upstream cannot change what runs here. Behaviour is unchanged: each SHA is the commit the previous ref pointed to on 2026-10-15. The original version is kept as a trailing comment so the pin stays readable and updatable.

Changes

  1. christianvuerings/add-labels@v1 → b3cc83b6b466869c556a6623c93f1321485dbda0 # v1 (1 place)

Method

Pinned with pinact v5.0.0 and verified with pinact run --check --verify-comment. Each SHA was additionally cross-checked against an independent lookup of the same ref.

Notes

Pin all `uses:` references in workflows and composite actions to full
commit SHAs, keeping the original ref as a trailing comment
(e.g. `actions/checkout@<sha> # v4.2.2`).

Generated with pinact v5.0.0 and verified with
`pinact run --check --verify-comment`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants