Skip to content

Bump GitHub Actions to latest release SHAs - #56

Merged
asutermo merged 2 commits into
mainfrom
pin-github-actions-to-sha
Jun 10, 2026
Merged

Bump GitHub Actions to latest release SHAs#56
asutermo merged 2 commits into
mainfrom
pin-github-actions-to-sha

Conversation

@asutermo

@asutermo asutermo commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump all pinned GitHub Actions to latest release commit SHAs for org-wide parity.
  • Keeps full SHA pinning (no tag/branch refs).

Test plan

  • GitHub Actions workflow syntax validates on PR
  • Workflows run successfully after merge

Summary by CodeRabbit

  • Chores
    • Updated pinned GitHub Actions used by CI/CD: refreshed action commit pins and inline version comments across dependency review, test, and publish workflows to keep automation up to date.

Update pinned commit SHAs across workflows to match latest
release tags for supply-chain consistency.
@asutermo
asutermo temporarily deployed to dependency-review June 10, 2026 19:59 — with GitHub Actions Inactive
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The PR updates pinned commit SHAs for GitHub Actions dependencies across three CI workflow files. The actions/checkout, astral-sh/setup-uv, actions/cache, actions/dependency-review-action, and softprops/action-gh-release actions are bumped to newer commit hashes while keeping the same referenced action versions. Workflow logic and step behavior remain unchanged.

Changes

GitHub Actions Dependencies

Layer / File(s) Summary
Pin GitHub Actions to updated commit SHAs
.github/workflows/dependency-review.yml, .github/workflows/publish.yml, .github/workflows/test.yml
actions/checkout, astral-sh/setup-uv, actions/cache, actions/dependency-review-action, and softprops/action-gh-release are pinned to new commit SHAs across all three workflow files, maintaining the same action versions and step logic.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 New SHAs hopped in, neat and spry,
Workflows nudged forward, no reason to cry.
Checkout, cache, and setup all set,
Releases and review steps safe to vet.
A little rabbit cheers: build and fly!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: updating GitHub Actions to their latest release SHAs across multiple workflow files.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pin-github-actions-to-sha

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

@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: 3

🧹 Nitpick comments (2)
.github/workflows/publish.yml (2)

87-87: Static analysis hint: superfluous-actions on action-gh-release.

The static analysis tool suggests that gh release CLI commands could replace the softprops/action-gh-release action. While this is true, using the action provides a declarative YAML-based configuration that some teams prefer over scripting CLI commands. Both approaches are valid; this is a style preference rather than a functional issue.

🤖 Prompt for 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.

In @.github/workflows/publish.yml at line 87, The workflow currently uses the
softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda action
which triggered a static-analysis hint suggesting replacement with gh CLI;
either replace this action with an equivalent sequence of gh release CLI steps
in the publish workflow (authenticate, tag, create release, upload assets) or
explicitly document/suppress the analyzer by adding a short comment above the
uses: line explaining the deliberate choice to prefer the declarative softprops
action for readability/consistency; update the publish.yml entry that references
softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda and ensure
any added comment follows your repo's linter/suppression conventions.

Source: Linters/SAST tools


34-34: Static analysis hint: cache-poisoning warning on setup-uv.

The static analysis tool flagged that astral-sh/setup-uv enables caching by default, which could theoretically be vulnerable to cache poisoning. However, this is an intentional feature that improves workflow performance, and GitHub Actions provides cache isolation per repository, mitigating the risk. The caching behavior is expected and generally safe in this context.

🤖 Prompt for 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.

In @.github/workflows/publish.yml at line 34, Static analysis flagged caching on
the astral-sh/setup-uv action as a potential cache-poisoning risk; add an
explicit inline comment above the uses line (the "uses:
astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39" entry) stating that
caching is intentional, that GitHub Actions provides repo-scoped cache
isolation, and that this behavior is expected and accepted for performance—this
documents the rationale for future reviewers and suppresses confusion from
static analysis alerts.

Source: Linters/SAST tools

🤖 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/dependency-review.yml:
- Line 23: The workflow pins for the checkout and dependency-review actions are
inconsistent with their commented tags: update the pinned commit SHAs for
actions/checkout and actions/dependency-review-action to match the actual commit
IDs for the documented tags (or change the “# vX.Y.Z” comments to reflect the
pinned SHAs); specifically locate the uses: lines for
actions/checkout@df4cb1c069e... and
actions/dependency-review-action@a1d282b36b... and either replace those SHAs
with the commits de0fac2e4500dabe0009e67214ff5f5447ce83dd and
2031cfc080254a8a887f58cffee85186f0e49e48 respectively, or update the trailing “#
vX.Y.Z” comments to the correct tag names that correspond to the pinned SHAs.
Ensure the two lines remain consistent (SHA ↔ tag comment) before committing.

In @.github/workflows/publish.yml:
- Line 24: The workflow pins for the three actions are inconsistent with their
version tag comments; update the pinned SHAs to match the resolved commit SHAs
for each uses entry: replace the SHA for actions/checkout@v6.0.2 with
de0fac2e4500dabe0009e67214ff5f5447ce83dd, replace the SHA for
astral-sh/setup-uv@v8.0.0 with cec208311dfd045dd5311c1add060b2062131d57, and
replace the SHA for softprops/action-gh-release@v2 with
3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 so the comments and pinned commits are
consistent.

In @.github/workflows/test.yml:
- Line 22: The inline version comments for the pinned GitHub Actions SHAs are
mismatched; update each occurrence so the comment tag matches the actual pinned
SHA or vice versa: locate the three uses entries (actions/checkout@df4cb1c069e1,
astral-sh/setup-uv@fac544c07de, actions/cache@27d5ce7f107f) and either (A)
change the trailing comment (e.g., "# v6.0.2", "# v8.0.0", "# v5.0.4") to the
tag that corresponds to the pinned SHA, or (B) replace the pinned SHA with the
commit that the tag points to so the comment and SHA match; ensure each
comment/tag pair is consistent before committing.

---

Nitpick comments:
In @.github/workflows/publish.yml:
- Line 87: The workflow currently uses the
softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda action
which triggered a static-analysis hint suggesting replacement with gh CLI;
either replace this action with an equivalent sequence of gh release CLI steps
in the publish workflow (authenticate, tag, create release, upload assets) or
explicitly document/suppress the analyzer by adding a short comment above the
uses: line explaining the deliberate choice to prefer the declarative softprops
action for readability/consistency; update the publish.yml entry that references
softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda and ensure
any added comment follows your repo's linter/suppression conventions.
- Line 34: Static analysis flagged caching on the astral-sh/setup-uv action as a
potential cache-poisoning risk; add an explicit inline comment above the uses
line (the "uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39"
entry) stating that caching is intentional, that GitHub Actions provides
repo-scoped cache isolation, and that this behavior is expected and accepted for
performance—this documents the rationale for future reviewers and suppresses
confusion from static analysis alerts.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a5f75ea2-209d-4fdb-8feb-2cd3fbe960e3

📥 Commits

Reviewing files that changed from the base of the PR and between 89b7299 and 615bf21.

📒 Files selected for processing (3)
  • .github/workflows/dependency-review.yml
  • .github/workflows/publish.yml
  • .github/workflows/test.yml

Comment thread .github/workflows/dependency-review.yml Outdated
Comment thread .github/workflows/publish.yml Outdated
Comment thread .github/workflows/test.yml Outdated
@asutermo
asutermo temporarily deployed to dependency-review June 10, 2026 20:40 — with GitHub Actions Inactive
@asutermo
asutermo merged commit f02c9b0 into main Jun 10, 2026
5 of 6 checks passed
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