Skip to content

chore(ci): pin GitHub Actions to immutable SHAs#6

Merged
Skiipy11 merged 2 commits into
mainfrom
chore/pin-github-actions
Jul 21, 2026
Merged

chore(ci): pin GitHub Actions to immutable SHAs#6
Skiipy11 merged 2 commits into
mainfrom
chore/pin-github-actions

Conversation

@Skiipy11

@Skiipy11 Skiipy11 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin mutable action tags in .github/workflows/ci.yml to full SHAs.
  • dtolnay/rust-toolchain: pin to master SHA + with: toolchain: stable (ref was doubling as toolchain selector).

Why

Public flagship; all action refs were mutable tags.

Test plan

  • Full CI green (repo-hygiene, workbench, redaction-core, gate-floor, tauri-rust)
  • grep uses: shows only 40-hex-pinned refs

Summary by CodeRabbit

  • Chores
    • Pinned CI tooling to specific versions for more consistent and reliable automated builds.
    • Updated checkout, runtime setup, and Rust toolchain actions without changing workflow behavior.

Pin checkout@v4, setup-node@v4, setup-python@v5, and dtolnay/rust-toolchain
(with explicit toolchain: stable input so the ref is no longer the selector).
Public flagship supply-chain hardening; Renovate owns digest updates after.
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Skiipy11, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 54 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository: ZenSystemAI/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: deb2186c-d46d-4eaf-bd32-925769785ffd

📥 Commits

Reviewing files that changed from the base of the PR and between ce6060a and d332d03.

📒 Files selected for processing (1)
  • deploy/test_repository_profiles.py
📝 Walkthrough

Walkthrough

The CI workflow replaces floating GitHub Actions and Rust toolchain references with specific commit SHAs across repository hygiene, workbench, redaction-core, gate-floor, and Tauri Rust jobs.

Changes

CI action pinning

Layer / File(s) Summary
Pin checkout and language setup actions
.github/workflows/ci.yml
The repo-hygiene, workbench, redaction-core, and gate-floor jobs pin checkout and language setup actions to commit SHAs.
Pin Rust toolchain action
.github/workflows/ci.yml
The tauri-rust job pins dtolnay/rust-toolchain to a commit SHA while retaining toolchain: stable.

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

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: pinning CI GitHub Actions to immutable SHAs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/pin-github-actions

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 19: Disable checkout credential persistence for every listed
actions/checkout usage in .github/workflows/ci.yml at lines 19, 424, 456, 490,
and 534 by setting persist-credentials to false; no authenticated Git operations
are required in these test jobs.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: ZenSystemAI/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 83dd07fd-3883-49b4-a1df-443987bce011

📥 Commits

Reviewing files that changed from the base of the PR and between eeedda2 and ce6060a.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml
The repo-hygiene checkout assertion hard-coded actions/checkout@v4.
After pinning to an immutable SHA with a # v4 comment, match any
actions/checkout@ uses string instead.
@Skiipy11
Skiipy11 enabled auto-merge (squash) July 21, 2026 15:20
@Skiipy11
Skiipy11 merged commit ba690fb into main Jul 21, 2026
12 of 13 checks passed
@Skiipy11
Skiipy11 deleted the chore/pin-github-actions branch July 21, 2026 15:21
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