Skip to content

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

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: b2d7889d-a732-4ab1-b0e3-33bdd118adcf

📥 Commits

Reviewing files that changed from the base of the PR and between 634411a and dec9c90.

📒 Files selected for processing (2)
  • .github/workflows/rhodibot.yml
  • .github/workflows/rust-ci.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. (18)
  • GitHub Check: scan / gitleaks
  • GitHub Check: scan / rust-secrets
  • GitHub Check: scan / shell-secrets
  • GitHub Check: Validate K9 contracts
  • GitHub Check: Validate eclexiaiser manifest
  • GitHub Check: Empty-linter (invisible characters)
  • GitHub Check: Validate A2ML manifests
  • GitHub Check: Zig FFI builds + tests (Zig 0.14.0)
  • GitHub Check: analyze (rust)
  • GitHub Check: Zig — build + test FFI reference impl
  • GitHub Check: Idris2 — machine-check ABI proofs
  • GitHub Check: Groove manifest check
  • GitHub Check: SQLite — generated overlay applies and views build
  • GitHub Check: Codegen — golden sample is up to date
  • GitHub Check: panic-attack assail
  • GitHub Check: ABI ↔ FFI structural conformance
  • GitHub Check: cargo check (stable)
  • GitHub Check: Hypatia neurosymbolic scan
🔇 Additional comments (2)
.github/workflows/rhodibot.yml (1)

37-37: LGTM!

.github/workflows/rust-ci.yml (1)

25-29: LGTM!

Also applies to: 47-50


📝 Summary

Summary by CodeRabbit

  • Chores
    • Pinned CI workflow actions to specific versions to provide more consistent and predictable automated builds.
    • Updated checkout, Rust toolchain, and Rust caching steps across CI workflows.

Walkthrough

The workflows replace mutable action tags with specific commit SHAs. The Rhodibot workflow pins checkout. The Rust CI workflow pins the Rust toolchain and cache actions in both jobs.

Changes

Workflow action pinning

Layer / File(s) Summary
Rhodibot checkout pin
.github/workflows/rhodibot.yml
The checkout action now uses a specific commit SHA instead of the v7.0.1 tag.
Rust CI action pins
.github/workflows/rust-ci.yml
The check and test jobs now use commit SHAs for dtolnay/rust-toolchain and Swatinem/rust-cache.

Priority: ⬇️ Low

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

Change: Bug fix

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the purpose and implementation, but it does not follow the repository template. It omits the Changes, RSR Quality Checklist, Testing, and Screenshots sections. Update the description to include the required template sections. List the key changes, complete the RSR Quality Checklist, describe the tests that were run and their results, and add screenshots or terminal output if applicable.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: pinning third-party CI actions to full commit SHAs.
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.
  • Fix all pre-merge checks with AI

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 reads each line,
The patch grows clear beneath the moon,
Small changes hop in place,
Tests guard the garden path,
Reviews bloom before the dawn.

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

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