🩹 [Patch]: Pin GitHub-Script action to specific version #9
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.
The GitHub-Script action dependency is now pinned to a specific commit SHA (v1.7.8) for improved security and reproducibility. This ensures consistent builds and protects against potential supply chain attacks where action tags could be moved to point to malicious code.
Pin GitHub-Script action to specific SHA
Updated the action reference in
action.ymlfrom the previous SHA to the latest version:PSModule/GitHub-Script@8b9d2739d6896975c0e5448d2021ae2b94b6766a(v1.7.6)PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca(v1.7.8)Why pin to SHA?
Pinning actions to specific commit SHAs is a security best practice that: