Skip to content

fix(ci): reconcile the workflows with actions.lock (gh-actions-lock) - #99

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): reconcile the workflows with actions.lock (gh-actions-lock v0.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.

…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.
@coderabbitai

coderabbitai Bot commented Sep 20, 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: e538f680-e49e-40f4-a02f-49e684270969

📥 Commits

Reviewing files that changed from the base of the PR and between 8638fb1 and 883f34f.

⛔ Files ignored due to path filters (1)
  • .github/workflows/actions.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • .github/workflows/boj-build.yml
  • .github/workflows/casket-pages.yml
  • .github/workflows/codeql.yml
  • .github/workflows/dogfood-gate.yml
  • .github/workflows/placement-guard.yml
  • .github/workflows/push-email-notify.yml
  • .github/workflows/verify-tlaplus.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 / Code quality + docs
  • GitHub Check: governance / Licence consistency
  • GitHub Check: governance / Well-Known (RFC 9116 + RSR)
  • GitHub Check: governance / Debt ratchet
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: governance / Actions lockfile verify
  • GitHub Check: governance / Allowlist Preflight
  • GitHub Check: governance / Guix packaging policy (Nix retired)
  • GitHub Check: governance / Check Workflow Staleness
  • GitHub Check: governance / Trusted-base reduction policy
  • GitHub Check: governance / Workflow security linter
  • GitHub Check: governance / Language / package anti-pattern policy
  • GitHub Check: governance / Security policy checks
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: governance / Live Actions policy (credentialed advisory)
  • GitHub Check: scan / shell-secrets
  • GitHub Check: scan / rust-secrets
  • GitHub Check: scan / gitleaks
  • GitHub Check: Empty-linter (invisible characters)
  • GitHub Check: Validate A2ML manifests
  • GitHub Check: Groove manifest check
  • GitHub Check: TLC model-check
  • GitHub Check: Validate K9 contracts
  • GitHub Check: analyze (actions, none)
  • GitHub Check: Content placement check
🔇 Additional comments (6)
.github/workflows/codeql.yml (1)

41-41: LGTM!

Also applies to: 44-44, 50-50

.github/workflows/boj-build.yml (1)

40-40: 🔒 Security & Privacy | 🛡️ Analyzed with Security Review

Inspect the workflow lock configuration before replacing immutable action pins.

.github/workflows/dogfood-gate.yml (1)

31-31: LGTM!

Also applies to: 80-80, 130-130, 194-194, 254-254

.github/workflows/placement-guard.yml (1)

30-30: LGTM!

.github/workflows/verify-tlaplus.yml (1)

44-44: LGTM!

Also applies to: 47-47, 54-54, 95-95

.github/workflows/push-email-notify.yml (1)

44-44: LGTM!


📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated continuous integration and deployment workflows to use clearer version references for several automation actions.
    • Standardised action references across build, validation, deployment, notification and security checks while retaining the existing action versions and workflow behaviour.
    • Improved version traceability for selected security-analysis actions by associating them with exact revisions.

Walkthrough

The pull request changes GitHub Actions references across repository workflows. Several workflows now use version tags instead of commit SHAs. The CodeQL workflow now uses commit SHAs with version comments. Workflow logic and inputs remain unchanged.

Changes

Workflow action references

Layer / File(s) Summary
Build and Pages workflow references
.github/workflows/boj-build.yml, .github/workflows/casket-pages.yml
Build and Pages actions now use the specified version-tag references instead of commit SHAs.
Validation workflow references
.github/workflows/dogfood-gate.yml, .github/workflows/placement-guard.yml
Checkout steps now use actions/checkout@v7.0.1 tags.
Verification and notification references
.github/workflows/verify-tlaplus.yml, .github/workflows/push-email-notify.yml
The verification and notification workflows now use version-tag references for their actions.

Priority: ⬇️ Low

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

Change: Bug fix

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the CI workflow reconciliation with actions.lock, which is the main change.
Description check ✅ Passed The description explains that readable workflow references are reconciled with actions.lock and that the lockfile remains authoritative for commit pinning.
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 workflow line
Tags and SHAs now align
Pages build and tests proceed
Notifications keep their speed
Clean references serve the need

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

@hyperpolymath
hyperpolymath merged commit 5369a08 into main Sep 20, 2026
23 of 27 checks passed
@hyperpolymath
hyperpolymath deleted the fix/sha-pin-actions branch September 20, 2026 02:17
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