🩹 [Patch]: Pin GitHub-Script action to specific version#9
Merged
MariusStorhaug merged 1 commit intomainfrom Jan 22, 2026
Merged
🩹 [Patch]: Pin GitHub-Script action to specific version#9MariusStorhaug merged 1 commit intomainfrom
MariusStorhaug merged 1 commit intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the PSModule/GitHub-Script action dependency to a newer pinned version for improved security and consistency. The action is pinned using commit SHA to prevent tag mutation attacks and ensure reproducible builds.
Changes:
- Updated GitHub-Script action from v1.7.6 to v1.7.8 with corresponding SHA update
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
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: