Skip to content

root - chore: defense - pin all GitHub Actions to full SHAs#139

Merged
jaredwray merged 1 commit into
mainfrom
claude/tender-cerf-bm9keo
Jun 12, 2026
Merged

root - chore: defense - pin all GitHub Actions to full SHAs#139
jaredwray merged 1 commit into
mainfrom
claude/tender-cerf-bm9keo

Conversation

@jaredwray

Copy link
Copy Markdown
Contributor

Summary

Pin all third-party GitHub Actions to full commit SHAs (supply-chain / defense-in-depth hardening). No behavior change.

Why

Floating major tags (@v6, @v7, @v4) are mutable — if an action's repo were compromised, the tag could be moved to point at a malicious commit. Pinning to immutable commit SHAs (each with a # vX.Y.Z comment for readability) removes that risk.

Pins

  • actions/checkout @v6df4cb1c0… # v6.0.3
  • actions/setup-node @v648b55a01… # v6.4.0
  • codecov/codecov-action @v7fb8b3582… # v7.0.0
  • github/codeql-action/{init,autobuild,analyze} @v48aad20d1… # v4.36.2
  • pnpm/action-setup — already SHA-pinned (v6.0.8), unchanged

Checks

  • All four workflow YAML files parse (PyYAML)
  • Every action reference is now a full commit SHA — no tag/branch refs remain
  • SHAs resolved from each tag's dereferenced commit; version comments match

Generated by Claude Code

Pin every third-party GitHub Action to a full commit SHA (with a version
comment) instead of a floating major tag. Mutable tag/branch refs can be
moved to point at malicious commits; commit SHAs are immutable. This is a
supply-chain / defense-in-depth hardening change (no behavior change).

- actions/checkout       v6 -> df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- actions/setup-node     v6 -> 48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
- codecov/codecov-action v7 -> fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
- github/codeql-action/{init,autobuild,analyze} v4 -> 8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

pnpm/action-setup was already SHA-pinned (v6.0.8). All four workflow files
still parse.

https://claude.ai/code/session_01Px42UMbWbPmi3d5YeKHwKa
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ecb10eb) to head (cb849f9).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #139   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          492       492           
  Branches       105       101    -4     
=========================================
  Hits           492       492           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray jaredwray merged commit 19f5c37 into main Jun 12, 2026
9 checks passed
@jaredwray jaredwray deleted the claude/tender-cerf-bm9keo branch June 12, 2026 16:38
@jaredwray jaredwray mentioned this pull request Jun 12, 2026
4 tasks
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