Skip to content

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

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.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 1c9218b2-18e6-448a-8bc5-a495732c99f6

📥 Commits

Reviewing files that changed from the base of the PR and between 82e4206 and b1f40ed.

⛔ Files ignored due to path filters (1)
  • .github/workflows/actions.lock is excluded by !**/*.lock
📒 Files selected for processing (47)
  • .github/workflows/affinescript-verify.yml
  • .github/workflows/apply-workflow-pins.yml
  • .github/workflows/boj-build.yml
  • .github/workflows/canon-spine-lockstep.yml
  • .github/workflows/casket-pages.yml
  • .github/workflows/changelog-reusable.yml
  • .github/workflows/changelog.yml
  • .github/workflows/check-suite-monitor.yml
  • .github/workflows/codeql-reusable.yml
  • .github/workflows/codeql.yml
  • .github/workflows/debt-measure.yml
  • .github/workflows/deed-conformance.yml
  • .github/workflows/doc-format.yml
  • .github/workflows/dyadt-verify.yml
  • .github/workflows/echidna-verify.yml
  • .github/workflows/elixir-ci-reusable.yml
  • .github/workflows/elixir-ci.yml
  • .github/workflows/governance-reusable.yml
  • .github/workflows/governance.yml
  • .github/workflows/hypatia-scan-reusable.yml
  • .github/workflows/hypatia-scan.yml
  • .github/workflows/instant-sync.yml
  • .github/workflows/k9-contractile.yml
  • .github/workflows/label-triage.yml
  • .github/workflows/labels.yml
  • .github/workflows/launcher-standard-lockstep.yml
  • .github/workflows/lockfile-drift-detect.yml
  • .github/workflows/makefile-blocker.yml
  • .github/workflows/mirror-reusable.yml
  • .github/workflows/mirror.yml
  • .github/workflows/no-js-scan.yml
  • .github/workflows/pages-archive.yml
  • .github/workflows/pages.yml
  • .github/workflows/propagate-hooks.yml
  • .github/workflows/readme-derive-reusable.yml
  • .github/workflows/readme-derive.yml
  • .github/workflows/registry-verify.yml
  • .github/workflows/rust-ci-reusable.yml
  • .github/workflows/scorecard-enforcer.yml
  • .github/workflows/secret-scanner-reusable.yml
  • .github/workflows/secret-scanner.yml
  • .github/workflows/security-gate-pr-target.yml
  • .github/workflows/self-test.yml
  • .github/workflows/settings-drift-detect.yml
  • .github/workflows/signed-push-smoke.yml
  • .github/workflows/spark-theatre-gate.yml
  • .github/workflows/tag-ruleset-canon.yml

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

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

…0.1.6)

`actions.lock` is authoritative: the workflows carry readable refs and the lock records the
commit each ref resolves to, which is what actually runs. Refs that stop matching the manifest
make the whole repository unstartable — `startup_failure`, "Invalid lockfile".

Regenerated with the official extension (`github/gh-actions-lock`). The hand-pinned SHA refs are
reverted to their readable form here precisely because the lockfile, not the workflow, is what
pins them.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@hyperpolymath
hyperpolymath merged commit e13e2ea into main Sep 19, 2026
17 of 25 checks passed
@hyperpolymath
hyperpolymath deleted the fix/sha-pin-actions branch September 19, 2026 23:32
Comment thread .github/workflows/mirror-reusable.yml Fixed
Comment thread .github/workflows/propagate-hooks.yml Fixed

- name: Push the local commit as Verified (via the App)
uses: ./.github/actions/signed-push
uses: $/.github/actions/signed-push
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