⚙️ [Maintenance]: GitHub Action pins can be synchronized - #171
Merged
Marius Storhaug (MariusStorhaug) merged 4 commits intoAug 15, 2026
Conversation
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot <[email protected]>
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.
Repositories can now synchronize GitHub Action SHA pins with the latest stable releases through a reusable, dependency-free PowerShell utility. The GitHub Actions standard explains how it complements Dependabot for audits and deliberate manual synchronization.
New: Action-pin synchronization
Run the utility against any repository to resolve each supported action release tag to its immutable commit SHA, including composite-action subpaths and annotated tags. Use
-WhatIfto review proposed pin and release-comment changes without writing files.Technical details
Update-GitHubActionPin.ps1scans.githubYAML recursively, preserves UTF-8 BOM and line endings, honorsShouldProcess, avoids rewriting current pins, and usesGITHUB_TOKENorGH_TOKENwhen available.-WhatIf, no-op pins, and unresolved releases.-WhatIfAPI smoke test, and GitHub Actions standard guidance are complete..github/scripts/**tests/**src/docs/Coding-Standards/GitHub-Actions.mdRelevant issues (or links)
Related work