ci: pin GitHub Actions to commit SHAs for security#124
Merged
Conversation
Pin all GitHub Actions references to specific commit SHAs instead of version tags to improve security and reproducibility: - actions/checkout@v4 → eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 - actions/setup-python@v5 → f677139bbe7f9c59b41e40162b753c062f5d49a3 - pypa/gh-action-pypi-publish@v1.12.4 → ab69e431e9c9f48a3310be0a56527c679f56e04d - actions/github-script@v7 → 60a0d83039c74a4aee543508d2ffcb1c3799cdea - docker/setup-qemu-action@v3 → 49b3bc8e6bdd4a60e6116a5414239cba5943d3cf - docker/setup-buildx-action@v3 → c47758b77c9736f4b2ef4073d4d51994fabfe349 - docker/login-action@v3 → 9780b0c442fbb1117ed29e0efdff1e18412f7567 - docker/build-push-action@v5 → 4f58ea79222b3b9dc2c8bbdd6debcef730109a75 This follows GitHub security best practices by ensuring exact versions are used and preventing potential supply chain attacks from compromised tags.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
🚀 Preview package published! Install with: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketsecurity==2.2.12.dev1Docker image: |
tmpvar
approved these changes
Oct 24, 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.
Root Cause
We implemented a requirement for Github Actions to pinned to commit hashes
Fix
Pin all GitHub Actions references to specific commit SHAs instead of version tags to improve security and reproducibility:
This follows GitHub security best practices by ensuring exact versions are used and preventing potential supply chain attacks from compromised tags.
Public Changelog
N/A