Repository navigation
ci: pin all GitHub Actions to commit SHAs so a moved tag cannot inject code into workflows that hold secrets or write permissions - #1572
Merged
Conversation
…t code into workflows that hold secrets or write permissions Renovate's pinGitHubActionDigests preset keeps the pins up to date.
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the GitHub Actions pinning and Renovate digest-maintenance changes.
No open issues 🎉
What changed in this PR
This PR hardens System.IO.Abstractions workflows against moved action tags by pinning GitHub Actions to commit SHAs, reducing risk in jobs with secrets or write permissions.
Changes:
- Replace tag-based action references with full commit SHAs in CI, build, and release workflows.
- Retain version comments alongside pins for readability.
- Enable Renovate’s
helpers:pinGitHubActionDigestspreset to maintain pins automatically.
| File | Description |
|---|---|
renovate.json5 |
Enable automated GitHub Actions digest pinning. |
.github/workflows/ci.yml |
Pin actions used for testing, analysis, and result publishing. |
.github/workflows/build.yml |
Pin actions used for builds, package publishing, and releases. |
Review effort: Balanced
|
Test Results 40 files 40 suites 18s ⏱️ Results for commit 3cce4fb. ♻️ This comment has been updated with latest results. |
Contributor
|
This pull request is merged. |
|
This is addressed in release v23.0.0. |
This was referenced Nov 11, 2026
Merged
This was referenced Nov 11, 2026
Merged
Open
Bump TestableIO.System.IO.Abstractions.TestingHelpers from 22.3.0 to 23.0.0
belkiss/niftyplugins#183
Open
Merged
Open
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.



Renovate's pinGitHubActionDigests preset keeps the pins up to date.