Skip to content

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

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/sha-pin-actions
Sep 19, 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
Contributor

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: 4dab9ab1-fced-4705-a2e5-aae3fd2d5f26

📥 Commits

Reviewing files that changed from the base of the PR and between 8102cc0 and 42c58b9.

📒 Files selected for processing (18)
  • .github/workflows/boj-build.yml
  • .github/workflows/codeql.yml
  • .github/workflows/dependabot-automerge.yml
  • .github/workflows/dogfood-gate.yml
  • .github/workflows/estate-rules.yml
  • .github/workflows/guix-nix-policy.yml
  • .github/workflows/instant-sync.yml
  • .github/workflows/openssf-compliance.yml
  • .github/workflows/pages.yml
  • .github/workflows/push-email-notify.yml
  • .github/workflows/quality.yml
  • .github/workflows/release.yml
  • .github/workflows/rhodibot.yml
  • .github/workflows/runtime-policy.yml
  • .github/workflows/security-policy.yml
  • .github/workflows/static-analysis-gate.yml
  • .github/workflows/wellknown-enforcement.yml
  • .github/workflows/workflow-linter.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. (11)
  • GitHub Check: scan / Hypatia Neurosymbolic Analysis
  • GitHub Check: governance / Licence consistency
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: governance / Security policy checks
  • GitHub Check: governance / Debt ratchet
  • GitHub Check: governance / Live Actions policy (credentialed advisory)
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: governance / Check Workflow Staleness
  • GitHub Check: governance / Well-Known (RFC 9116 + RSR)
  • GitHub Check: governance / Workflow security linter

📝 Summary

Summary by CodeRabbit

  • Security
    • Pinned third-party workflow actions to immutable commit references across CI, release, deployment, validation and notification workflows.
    • Preserved version annotations for easier auditing and maintenance.
    • Workflow logic, checks and permissions remain unchanged.

Walkthrough

Changes

Workflow action pinning

Layer / File(s) Summary
Checkout action pins
.github/workflows/boj-build.yml, .github/workflows/dogfood-gate.yml, .github/workflows/*policy.yml, .github/workflows/pages.yml, .github/workflows/quality.yml, .github/workflows/release.yml, .github/workflows/workflow-linter.yml
Checkout references now use the actions/checkout v7.0.1 commit SHA.
Tooling and release action pins
.github/workflows/codeql.yml, .github/workflows/dependabot-automerge.yml, .github/workflows/quality.yml, .github/workflows/release.yml, .github/workflows/static-analysis-gate.yml
Code analysis, dependency, quality, artifact, runtime, and release actions now use commit SHAs.
Integration and Pages action pins
.github/workflows/instant-sync.yml, .github/workflows/pages.yml, .github/workflows/push-email-notify.yml
Repository dispatch, Pages, and SMTP notification actions now use commit SHAs.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 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 intended behaviour, but it omits the required template sections for Changes, the RSR Quality Checklist, Testing, and Screenshots. Update the description to use the repository template. Add a Changes section, complete the required and applicable checklist items, document the testing performed or state that tests were not run, and add terminal output or state that scree…
✅ 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.
Full details: Description check

Resolution

Update the description to use the repository template. Add a Changes section, complete the required and applicable checklist items, document the testing performed or state that tests were not run, and add terminal output or state that screenshots are not applicable.

🤖 Coding task started


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 workflow line
Each action follows a fixed design
Tags rest still beside their names
Commit paths now guide the frames
The pipelines hop in time>

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

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Coding task failed

The task could not be completed. Open the task for details or retry.

@hyperpolymath
hyperpolymath merged commit 7161cef into main Sep 19, 2026
21 of 22 checks passed
@hyperpolymath
hyperpolymath deleted the fix/sha-pin-actions branch September 19, 2026 22:55
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