Skip to content

ci: pin GitHub Actions to commit SHAs + add Dependabot#1

Open
allenfbyrd wants to merge 1 commit into
mainfrom
harden/pin-action-shas
Open

ci: pin GitHub Actions to commit SHAs + add Dependabot#1
allenfbyrd wants to merge 1 commit into
mainfrom
harden/pin-action-shas

Conversation

@allenfbyrd

Copy link
Copy Markdown
Contributor

What

Pin all GitHub Actions in this repo to immutable commit SHAs (with # vX comments) and add/extend a github-actions Dependabot config.

Why

Tag refs like @v4 are mutable: a compromised or re-pointed tag silently changes what runs in CI (the top GitHub Actions supply-chain vector). Pinning to an immutable commit SHA removes that risk; Dependabot keeps the pins current via reviewed update PRs. Part of an org-wide move toward enabling sha_pinning_required.

Pin actions to immutable commit SHAs (with # vX comments) to defend against
mutable-tag supply-chain attacks; add/extend a github-actions Dependabot
config so the pins still receive reviewed update PRs.
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