Repository navigation
ci: pin remaining actions to full-length commit SHAs - #8
Merged
Merged
Conversation
Pin actions/setup-node, azure/login and azure/webapps-deploy to the commits their floating major tags currently resolve to. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the GitHub Actions SHA-pinning changes.
No open issues 🎉
What changed in this PR
Pins the remaining floating GitHub Actions references to full-length commit SHAs to satisfy SHA-pinning policy, while retaining release-version comments for readability.
Changes:
- Pins
actions/setup-nodeto the commit identified as v7.1.0. - Pins
azure/loginandazure/webapps-deployto commits identified as v2.3.1 and v3.0.8, respectively.
| File | Description |
|---|---|
.github/workflows/azure-cd-example.yml |
Pins Azure login and deployment actions to full-length SHAs. |
.github/workflows/agentic-ci.yml |
Pins the Node.js setup action to a full-length SHA. |
Review effort: Balanced
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.
Pins the last unpinned action references so workflows aren't blocked by SHA-pinning policy. Each SHA is the commit the previous floating tag resolved to (no behavior change), verified against release tags via the GitHub API.
actions/setup-node@v7@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0azure/login@v2@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1azure/webapps-deploy@v3@02a81bead70021f5284939794bcec79c271ab383 # v3.0.8All
uses:lines now reference 40-char SHAs with version comments; workflow YAML parses cleanly.