Skip to content

fix(ci): pin third-party actions to full commit SHAs - #108

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/sha-pin-actions
Sep 20, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/sha-pin-actions

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

fix(ci): pin third-party actions to full commit SHAs

The account's Actions policy requires a full-length SHA ref. A tag or branch ref is refused at
startup — startup_failure, no jobs, "this workflow graph cannot be shown" — so these workflows
could not run at all. This resolves each ref to the commit it currently points at and records the
ref in a trailing comment, e.g. actions/checkout@<sha> # v4.

dtolnay/rust-toolchain takes its toolchain from the ref itself, so those steps also gained an
explicit with: toolchain: input; without it, a SHA ref would silently lose the channel.

No behaviour is intended to change beyond the pins.

The account's Actions policy requires a full-length SHA ref. A tag or branch ref is refused at
startup — `startup_failure`, no jobs, "this workflow graph cannot be shown" — so these workflows
could not run at all. This resolves each ref to the commit it currently points at and records the
ref in a trailing comment, e.g. `actions/checkout@<sha> # v4`.

`dtolnay/rust-toolchain` takes its toolchain from the ref itself, so those steps also gained an
explicit `with: toolchain:` input; without it, a SHA ref would silently lose the channel.

No behaviour is intended to change beyond the pins.
@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 5e390d72-aefc-4cee-8cd7-eaa538ce7d21

📥 Commits

Reviewing files that changed from the base of the PR and between df5c644 and 70b6915.

📒 Files selected for processing (1)
  • .github/workflows/main-estate-audit.yml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (25)
  • GitHub Check: governance / Trusted-base reduction policy
  • GitHub Check: governance / Security policy checks
  • GitHub Check: governance / Check Workflow Staleness
  • GitHub Check: governance / Actions lockfile verify
  • GitHub Check: governance / Workflow security linter
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: governance / Code quality + docs
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: governance / Licence consistency
  • GitHub Check: governance / Allowlist Preflight
  • GitHub Check: governance / Well-Known (RFC 9116 + RSR)
  • GitHub Check: governance / Debt ratchet
  • GitHub Check: governance / Live Actions policy (credentialed advisory)
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: scan / gitleaks
  • GitHub Check: scan / shell-secrets
  • GitHub Check: spark-theatre-gate / SPARK Theatre Gate
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: scan / rust-secrets
  • GitHub Check: GitGuardian Security Checks
  • GitHub Check: rust-ci / Detect Cargo.toml
  • GitHub Check: cargo test --features git-integration
  • GitHub Check: estate-audit
  • GitHub Check: CodeQL Analysis (actions, none)
  • GitHub Check: idris2 0.8.0 --build git-reticulator-proofs
🔇 Additional comments (1)
.github/workflows/main-estate-audit.yml (1)

13-13: LGTM!

Also applies to: 16-16, 19-19, 22-22, 25-25, 28-28, 31-31, 34-34, 37-37, 40-40, 43-43, 46-46, 49-49, 52-52, 55-55, 58-58, 61-61, 64-64, 67-67, 70-70, 73-73, 76-76, 79-79, 82-82, 85-85, 88-88, 91-91


📝 Summary

Summary by CodeRabbit

  • Security
    • Pinned CI/CD workflow actions to immutable versions, improving build reproducibility and supply-chain security.
    • Validation gates and their execution order remain unchanged.

Walkthrough

The estate audit workflow now pins actions/checkout and all 28 hyperpolymath/cicd-suite actions to immutable commit SHAs. Gate names and execution order remain unchanged.

Changes

Estate audit workflow

Layer / File(s) Summary
Pin workflow action references
.github/workflows/main-estate-audit.yml
The workflow replaces the mutable v7 and main references with fixed commit SHAs. Trailing comments preserve the original references. The 28 validation gates and their order remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: pinning CI actions to full commit SHAs.
Description check ✅ Passed The description is directly related to the changes. It explains the Actions policy requirement, SHA pinning, preserved references, and the dtolnay/rust-toolchain input change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks each pinned trail,
Fixed commits guard the audit rail,
Twenty-eight gates remain in line,
Old tags mark each step and sign,
The workflow hops in order fine.

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath merged commit e34cefa into main Sep 20, 2026
29 of 33 checks passed
@hyperpolymath
hyperpolymath deleted the fix/sha-pin-actions branch September 20, 2026 00:50
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