Conversation
Co-authored-by: zkoppert <6935431+zkoppert@users.noreply.github.com>
Signed-off-by: Zack Koppert <zkoppert@github.com>
There was a problem hiding this comment.
Pull request overview
This PR improves GitHub Actions supply-chain security by replacing tag-based uses: references in workflow files with full 40-character commit SHAs (with version comments) to prevent tag-move risk.
Changes:
- Pinned
actions/checkout,actions/setup-python,actions/stale, andactions/upload-artifactto full commit SHAs across workflows. - Added inline version comments next to pinned SHAs for readability/auditability.
- Updated the pinned SHA for
super-linter/super-linterin the linter workflow (effectively a version bump).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/stale.yaml |
Pins actions/stale to a full SHA with a version comment. |
.github/workflows/python-package.yml |
Pins actions/checkout and actions/setup-python to full SHAs with version comments. |
.github/workflows/use-action.yml |
Pins actions/checkout to a full SHA with a version comment. |
.github/workflows/docker-image.yml |
Pins actions/checkout to a full SHA with a version comment. |
.github/workflows/major-version-updater.yml |
Pins actions/checkout to a full SHA with a version comment. |
.github/workflows/linter.yaml |
Pins actions/checkout/setup-python and changes the pinned super-linter SHA (with a version comment). |
.github/workflows/copilot-setup-steps.yml |
Pins actions/checkout and actions/setup-python to full SHAs with version comments. |
.github/workflows/scorecard.yml |
Pins actions/checkout and actions/upload-artifact to full SHAs with version comments. |
Signed-off-by: Zack Koppert <zkoppert@github.com>
zkoppert
approved these changes
Feb 10, 2026
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.
Pull Request
Proposed Changes
All GitHub Actions workflow files were using version tags (e.g.,
@v6.0.2) instead of pinned SHA hashes, creating a supply chain security risk where tags could theoretically be moved to point at different commits.Changes Made
Pinned all GitHub Actions dependencies to their full 40-character SHA hashes with version comments:
actions/stale@v10.1.1→@997185467fa4f803885201cee163a9f38240193d # v10.1.1actions/checkout@v6.0.2→@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2actions/setup-python@v6.2.0→@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0actions/upload-artifact@v6.0.0→@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0Files Updated
.github/workflows/stale.yaml.github/workflows/python-package.yml.github/workflows/use-action.yml.github/workflows/docker-image.yml.github/workflows/major-version-updater.yml.github/workflows/linter.yaml.github/workflows/copilot-setup-steps.yml.github/workflows/scorecard.ymlReadiness Checklist
Author/Contributor
make lintand fix any issues that you have introducedmake testand ensure you have test coverage for the lines you are introducing@jeffrey-luszczReviewer
fix,documentation,enhancement,infrastructure,maintenanceorbreakingOriginal prompt