deps: use full commit SHA for pinned deps#1547
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflow dependencies to use full commit SHAs (with inline version comments) instead of version tags, improving supply-chain integrity and reproducibility of CI runs.
Changes:
- Pin
github/codeql-action/upload-sarifto a specific commit SHA in the Scorecard workflow. - Pin
actions/checkoutandncipollo/release-actionto specific commit SHAs in the manual version update publish workflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/scorecard.yml | Pins CodeQL SARIF upload action to a full commit SHA. |
| .github/workflows/publish-module-manualversionupdate.yaml | Pins checkout and release action dependencies to full commit SHAs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Deploying maester with
|
| Latest commit: |
49703f3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://edb93d51.maester.pages.dev |
| Branch Preview URL: | https://pinned-deps.maester.pages.dev |
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.
Description
This pull request updates GitHub Actions workflow files to use specific commit SHAs for third-party actions instead of version tags. This change improves security and reliability by ensuring that the exact intended version of each action is used.
Workflow dependency pinning:
.github/workflows/publish-module-manualversionupdate.yaml: Pins theactions/checkoutaction to a specific commit SHA instead of thev6.0.2tag..github/workflows/publish-module-manualversionupdate.yaml: Pins thencipollo/release-actionaction to a specific commit SHA for versionv1.21.0instead of thev1tag..github/workflows/scorecard.yml: Pins thegithub/codeql-action/upload-sarifaction to a specific commit SHA for versionv4.35.1instead of thev4tag.Contribution Checklist
Before submitting this PR, please confirm you have completed the following:
/powershell/tests/pester.ps1on your local system.