chore: pin GitHub Actions to SHA (PDE-215)#21189
Merged
Ona-Security-Admin merged 1 commit intomainfrom Dec 15, 2025
Merged
Conversation
Pin all external GitHub Actions to specific commit SHAs to prevent supply chain attacks via malicious tag updates. Actions pinned (27 unique actions, ~100 references): - actions/cache@v3 - actions/checkout@master, @v2, @v4 - actions/github-script@v6, @v7 - actions/setup-go@v2 - actions/setup-java@v4 - actions/stale@v9 - actions/upload-artifact@v4 - authzed/action-spicedb-validate@v1.0.1 - BetaHuhn/repo-file-sync-action@v1 - bufbuild/buf-breaking-action@v1 - bufbuild/buf-lint-action@v1 - bufbuild/buf-setup-action@v1 - configcat/scan-repository@v2 - docker/login-action@v3 - FedericoCarboni/setup-ffmpeg@v1 - filiptronicek/get-last-job-status@main - google-github-actions/auth@v1 - imjasonh/setup-crane@v0.1 - KeisukeYamashita/create-comment@v1 - peter-evans/create-pull-request@v6 - rtCamp/action-slack-notify@v2 - slackapi/slack-github-action@v1.24.0 - test-summary/action@v2 - transferwise/sanitize-branch-name@v1 Exception: - gitpod-io/gh-app-auth: internal action, not pinned Part of PDE-138 Closes PDE-215 Co-authored-by: Ona <no-reply@ona.com>
Contributor
|
|
geropl
approved these changes
Dec 15, 2025
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.
Pin all external GitHub Actions to specific commit SHAs for supply chain security.
Changes
27 unique actions pinned (~100 references across 22 workflow files):
actions/cache@v3actions/checkout@master,@v2,@v4actions/github-script@v6,@v7actions/setup-go@v2actions/setup-java@v4actions/stale@v9actions/upload-artifact@v4authzed/action-spicedb-validate@v1.0.1BetaHuhn/repo-file-sync-action@v1bufbuild/buf-breaking-action@v1bufbuild/buf-lint-action@v1bufbuild/buf-setup-action@v1configcat/scan-repository@v2docker/login-action@v3FedericoCarboni/setup-ffmpeg@v1filiptronicek/get-last-job-status@maingoogle-github-actions/auth@v1imjasonh/setup-crane@v0.1KeisukeYamashita/create-comment@v1peter-evans/create-pull-request@v6rtCamp/action-slack-notify@v2slackapi/slack-github-action@v1.24.0test-summary/action@v2transferwise/sanitize-branch-name@v1Exceptions
gitpod-io/gh-app-auth@v0.1: internal Gitpod action, not pinned to SHARelated