DEVOPS-7261 - security: pin GitHub Actions to commit SHAs#2051
Merged
DEVOPS-7261 - security: pin GitHub Actions to commit SHAs#2051
Conversation
- Pin all open-source GitHub Actions to specific commit SHAs - Add inline comments to preserve version information - Affected actions: - actions/checkout@v4 -> 34e11487 - actions/checkout@v2 -> ee0669bd - actions/upload-artifact@v4 -> ea165f8d - actions/download-artifact@v4 -> d3f86a10 - dorny/paths-filter@v3 -> de90cc6f - eifinger/setup-rye@v2 -> 787604a4 - pypa/gh-action-pypi-publish@release/v1 -> ed0c5393 - docker/setup-buildx-action@v3 -> 8d2750c6 - docker/login-action@v3 -> c94ce9fb - docker/build-push-action@v5 -> ca052bb5 - ad-m/github-push-action@master -> 4cc74773 - trufflesecurity/trufflehog@main -> 6c64db94 - slsa-framework/slsa-github-generator@v2.0.0 -> 5a775b36 This improves security by ensuring immutable action versions. Co-authored-by: Aaron Bacchi <abacchilb@users.noreply.github.com>
mrobers1982
approved these changes
Mar 23, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
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.

https://labelbox.atlassian.net/browse/DEVOPS-7261
Description
This PR pins all open-source GitHub Actions to specific commit SHAs instead of version tags to improve security and ensure immutable action versions. This follows GitHub security best practices to prevent potential supply chain attacks.
Changes Made
All GitHub Actions in workflow files have been updated to use commit SHAs with inline comments preserving version information:
Actions Updated
actions/checkout@v4→34e11487...(v4)actions/checkout@v2→ee0669bd...(v2)actions/upload-artifact@v4→ea165f8d...(v4)actions/download-artifact@v4→d3f86a10...(v4)dorny/paths-filter@v3→de90cc6f...(v3)eifinger/setup-rye@v2→787604a4...(v2)pypa/gh-action-pypi-publish@release/v1→ed0c5393...(release/v1)docker/setup-buildx-action@v3→8d2750c6...(v3)docker/login-action@v3→c94ce9fb...(v3)docker/build-push-action@v5→ca052bb5...(v5)ad-m/github-push-action@master→4cc74773...(master)trufflesecurity/trufflehog@main→6c64db94...(main)slsa-framework/slsa-github-generator@v2.0.0→5a775b36...(v2.0.0)Modified Files
.github/workflows/notebooks.yml.github/workflows/publish.yml.github/workflows/secrets_scan.yml.github/workflows/python-package-develop.yml.github/workflows/lbox-publish.yml.github/workflows/python-package-shared.yml.github/workflows/lbox-develop.ymlType of change
All Submissions
Changes to Core Features
Slack Thread