Update action versions in pr-preview.yml #51
Merged
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.
GitHub Actions workflows were failing due to unpinned action references. The security policy requires all actions to be pinned to full-length commit SHAs, but the workflows were using semantic version tags (e.g.,
@v4,@v5).Root Cause
Actions were referenced using semantic version tags (
actions/checkout@v4,actions/setup-python@v5, etc.) instead of full commit SHAs. Additionally, inline comments containing@vX.X.Xpatterns were being detected by the security scanner as unpinned action references, even though the actual action uses were correctly pinned.Fix
actions/checkout@v4→eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871actions/setup-python@v5→f677139bbe7f9c59b41e40162b753c062f5d49a3pypa/gh-action-pypi-publish@v1.12.4→67339c736fd9354cd4f8cb0b744f2b82a74b5c70actions/github-script@v7→60a0d83039c74a4aee543508d2ffcb1c3799cdea@vX.X.Xpattern detection (e.g.,# checkout v4.2.1instead of# v4.2.1)Public Changelog
N/A