Skip to content

⚙️ [Maintenance]: GitHub Action pins can be synchronized - #171

Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
github-action-pin-updater
Aug 15, 2026
Merged

⚙️ [Maintenance]: GitHub Action pins can be synchronized#171
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
github-action-pin-updater

Conversation

@MariusStorhaug

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Aug 15, 2026

Copy link
Copy Markdown
Member

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 -WhatIf to review proposed pin and release-comment changes without writing files.


Technical details
  • Update-GitHubActionPin.ps1 scans .github YAML recursively, preserves UTF-8 BOM and line endings, honors ShouldProcess, avoids rewriting current pins, and uses GITHUB_TOKEN or GH_TOKEN when available.
  • Focused Pester fixtures cover annotated tags, composite subpaths, omitted comments, local and Docker references, BOM/CRLF preservation, -WhatIf, no-op pins, and unresolved releases.
  • Implementation plan progress: updater, focused tests, live -WhatIf API smoke test, and GitHub Actions standard guidance are complete.
  • Standards and framework alignment:
Changed surface Standards checked Framework docs checked Result
.github/scripts/** PowerShell, GitHub Actions, Security None (no framework-specific docs) Aligned
tests/** Testing, PowerShell Testing None (no framework-specific docs) Aligned
src/docs/Coding-Standards/GitHub-Actions.md GitHub Actions, Markdown, Natural Language None (no framework-specific docs) Aligned
Relevant issues (or links)

Related work

@MariusStorhaug
Marius Storhaug (MariusStorhaug) merged commit 24efed3 into main Aug 15, 2026
21 checks passed
@MariusStorhaug
Marius Storhaug (MariusStorhaug) deleted the github-action-pin-updater branch August 15, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:none No release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant