ci: pin all GitHub Actions to SHAs, dependabot monthly + minor/patch grouping - #779
Merged
Merged
Conversation
David Gamero (davidgamero)
force-pushed
the
pin-actions-shas
branch
from
August 5, 2026 15:50
96c68bc to
d04f1f9
Compare
- pin every third-party action/reusable workflow ref to a full commit SHA with a version comment - fold in the pending github-actions group bumps (checkout 7.0.1, codeql-action 4.37.3, setup-go 7.0.0, k8s-deploy v7, action-gh-release 3.0.2) - dependabot: monthly interval, group only minor/patch so majors land as separate PRs
David Gamero (davidgamero)
force-pushed
the
pin-actions-shas
branch
from
August 5, 2026 17:34
d04f1f9 to
19a994c
Compare
Suneha Bose (bosesuneha)
approved these changes
Aug 7, 2026
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
# vX.Y.Zcomment) across.github/workflows/**and.github/actions/**, including theAzure/action-release-workflowsreusable workflow.interval: monthlyfor all ecosystems, and groups scoped toupdate-types: [minor, patch]so majors arrive as individual reviewable PRs instead of being bundled.# v3.29.5comments ongithub/codeql-action(the pinned SHA is actually v4.37.3). Comment-only, no SHA change.No version changes otherwise — every ref resolves to the exact same commit
mainuses today.Why
Mutable tags (
@v4,@v6) are a supply-chain risk — a tag can be repointed at arbitrary code. SHA pinning makes every action ref immutable and auditable, and dependabot still bumps them (it parses the version comment).Note on #781
An earlier revision of this PR included the
Azure/k8s-deploy6 -> 7 bump from #781. That major bump breaks the integration tests: v7 refuses manifest paths outside the workspace, so thek8s-bakeoutput at/home/runner/work/_temp/baked-template-*.yamlis rejected and everyhelm-create-update/kustomize-create-updatejob fails. Reverted to v6 here — #781 needs its own fix (bake output relocated into the workspace) and should not be closed by this PR.Not included
template/workflows/**(user-facing scaffolding templates) is intentionally untouched — pinning there changes generated output and golden-file expectations.