Skip to content

chore: pin GitHub Actions to commit SHAs#4

Merged
psd-coder merged 1 commit intomainfrom
pin-action-versions
Apr 6, 2026
Merged

chore: pin GitHub Actions to commit SHAs#4
psd-coder merged 1 commit intomainfrom
pin-action-versions

Conversation

@psd-coder
Copy link
Copy Markdown
Owner

Overview

Pins all GitHub Actions dependencies to exact commit SHAs instead of mutable version tags, improving supply chain security across all CI/CD workflows.

Problem Statement

Using floating version tags (e.g. actions/checkout@v6) means workflows silently adopt any tag update, including potentially malicious ones. Pinning to commit SHAs ensures immutability — the exact code that runs is known and verified.

Solution Approach

  • Replaced all @vX tag references with full commit SHA + version comment in 8 workflow files
  • Actions pinned: actions/checkout, actions/setup-node, actions/upload-pages-artifact, actions/deploy-pages, andresz1/size-limit-action

Breaking Changes

None.

@psd-coder psd-coder self-assigned this Apr 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 6, 2026

size-limit report 📦

Path Size
createTypedChannel 254 B (0%)
createPostMessageTransport 86 B (0%)
createEventTargetTransport 109 B (0%)

@psd-coder psd-coder merged commit 5fc52a4 into main Apr 6, 2026
5 checks passed
@psd-coder psd-coder deleted the pin-action-versions branch April 6, 2026 21:16
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.

1 participant