Skip to content

Pin third-party GitHub Actions to SHAs#230

Merged
kvz merged 1 commit into
mainfrom
pin-shas
Jun 8, 2026
Merged

Pin third-party GitHub Actions to SHAs#230
kvz merged 1 commit into
mainfrom
pin-shas

Conversation

@kvz

@kvz kvz commented Jun 8, 2026

Copy link
Copy Markdown
Member

Why:

Third-party GitHub Action tags can move after review. Pinning these references to full commit SHAs makes the workflow supply-chain input immutable and prepares the repo for stricter GitHub Actions allowlist policy.

What:

  • Replaced floating third-party action refs with the commits they currently resolve to.
  • Left first-party, GitHub-owned, and already SHA-pinned actions unchanged.

Changed workflows:

  • .github/workflows/tuskit-ci.yml

Resolved refs:

  • swift-actions/setup-swift@v2 -> swift-actions/setup-swift@7ca6abe6b3b0e8b5421b88be48feee39cbf52c6a

Verification:

  • git diff --check
  • Ruby YAML parse for changed workflow files
  • Confirmed replaced floating refs no longer appear in changed workflows

@kvz kvz merged commit 0d0a900 into main Jun 8, 2026
1 check passed
@kvz kvz deleted the pin-shas branch June 8, 2026 19:51
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