Skip to content

SEC-178: pin GitHub Action refs to full SHAs#5

Merged
kwent merged 1 commit intomasterfrom
security/sec-178-pin-actions
Apr 21, 2026
Merged

SEC-178: pin GitHub Action refs to full SHAs#5
kwent merged 1 commit intomasterfrom
security/sec-178-pin-actions

Conversation

@youngjk
Copy link
Copy Markdown
Contributor

@youngjk youngjk commented Apr 21, 2026

Summary

Pins all external GitHub Actions in this repo to full 40-char commit SHAs. Required before the org-wide sha_pinning_required = true policy (rootlyhq/terraform-rootly#891) lands — otherwise CI here fails validation on the next run after apply.

Linear: SEC-178 (follow-up to SEC-89).

Changes

File Actions pinned
.github/workflows/ci.yml actions/checkout@v6, actions/setup-python@v6 (×2 each)
.github/workflows/publish.yml actions/checkout@v6, actions/setup-python@v6

All SHAs preserve the original tag as a trailing comment (Dependabot convention).

SHAs

  • actions/checkout@v6de0fac2e4500dabe0009e67214ff5f5447ce83dd
  • actions/setup-python@v6a309ff8b426b58ec0e2a45f0f869d46889d02405

Resolved via gh api /repos/OWNER/REPO/commits/TAG on 2026-04-21.

Test plan

  • CI lint + test matrix runs pass on this PR
  • Publish workflow continues to work on next release

🤖 Generated with Claude Code

Pins actions/checkout@v6 and actions/setup-python@v6 in ci.yml and
publish.yml to the full commit SHAs of the v6 tags as of 2026-04-21.

Required before the org-wide sha_pinning_required policy
(rootlyhq/terraform-rootly#891) lands; otherwise this repo's CI
would fail validation at the "Set up job" step on first run after
apply.

SHAs:
  actions/checkout@v6        -> de0fac2e4500dabe0009e67214ff5f5447ce83dd
  actions/setup-python@v6    -> a309ff8b426b58ec0e2a45f0f869d46889d02405

Linear: SEC-178 (follow-up to SEC-89).
@kwent kwent merged commit 5d64fe7 into master Apr 21, 2026
4 checks passed
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