Skip to content

fix(ci): pin actions/checkout to immutable SHA (VC-53683 SC-004)#407

Merged
gdbarron merged 2 commits into
mainfrom
fix/VC-53683-action-pinning
Jun 30, 2026
Merged

fix(ci): pin actions/checkout to immutable SHA (VC-53683 SC-004)#407
gdbarron merged 2 commits into
mainfrom
fix/VC-53683-action-pinning

Conversation

@bonjoski

Copy link
Copy Markdown
Collaborator

Summary

Addresses supply chain security finding SC-004 from Jira ticket VC-53683.

Changes

  • SC-004: .github/workflows/cd.ymlactions/checkout@main pinned to full 40-character commit SHA b9e0990d219a03df7633c93f6f005a8fecbcab22 (v7.0.0), eliminating the mutable branch ref.

Already Compliant (no changes needed)

  • SC-003: mhausenblas/mkdocs-deploy-gh-pages already pinned to full SHA a31c6b13a80e4a4fbb525eeb7a2a78253bb15fa5 in cd.yml. The @master ref in ci.yml is in a commented-out block and not active.
  • SC-002 / SC-009: Initialize-PSSodium.ps1 already uses -Repository PSGallery -RequiredVersion $script:pssodiumVersion with per-file SHA256 hash verification. All CI Install-Module calls already include -RequiredVersion and -Repository PSGallery (PSScriptAnalyzer@1.25.0, Pester@5.7.1, platyPS@0.14.2).

Closes VC-53683.

🤖 Generated with Claude Code

bonjoski and others added 2 commits June 24, 2026 12:15
SC-004: actions/checkout@main in the CD workflow used a mutable branch ref,
allowing the action to change without notice. Pin to the full 40-char SHA
corresponding to v7.0.0 to eliminate supply chain risk from ref mutation.

Fixes: VC-53683
@gdbarron gdbarron merged commit a742e20 into main Jun 30, 2026
4 of 5 checks passed
@gdbarron gdbarron deleted the fix/VC-53683-action-pinning branch June 30, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants