CI: bump actions/checkout to v7 (v4 targets Node.js 20, now deprecated) - #42
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
Claude finished @jnasbyupgrade's task in 1m 45s —— View job Code Review: CI: bump actions/checkout to v7
SummaryClean, well-scoped maintenance change. All 5 I verified the other 4 sites don't need the opt-in:
The added Notes (non-blocking)
No bugs or security issues found; nothing to change. |
|
Claude finished @jnasbyupgrade's task in 2m 0s —— View job Code Review: CI: bump actions/checkout to v7
SummaryThe PR now has two commits, and the second (
One regression worth a look: the old step had The other two changes bundled into that same commit ( No bugs or security issues that would block merging; the |
3fde15d to
c7a9443
Compare
…mments + cache permission v4 pins the Node 20 runtime, which GitHub Actions is deprecating; v7 runs on a current, supported Node version. Bumped every actions/checkout@v4 reference across ci.yml, claude-code-review.yml, and claude.yml. Also fixes two latent issues in claude-code-review.yml found by checking a real run's log: - Added claude_args: '--allowedTools mcp__github_inline_comment__create_inline_comment'. The review runs in agent mode (a bare prompt:, no @claude mention), which only registers MCP tools listed in claude_args, not the code-review plugin's own frontmatter -- without this the inline-comment tool never starts and every review was silently falling back to one consolidated PR comment instead of real inline comments. - Added actions: write to the job's permissions. There's no narrower cache-write-only scope; without it, the action's internal cache-save step was silently failing with a warning every run, with the job still reporting success.
c7a9443 to
de5997f
Compare
|
Claude finished @jnasbyupgrade's task in 3m 45s —— View job Code Review: CI: bump actions/checkout to v7
SummaryReviewed the current state of the branch (commit Previously flagged This PR's actual diff (verified via
Why none of the No bugs or security issues found. Nothing blocking merge. |

GitHub Actions runners have started warning that Node.js 20 is deprecated and actions pinned to it are being forced onto Node.js 24 at runtime. actions/checkout@v4 is one of those; v7 is the current latest major and already targets Node 24 natively. Bumped every actions/checkout@v4 reference across ci.yml, claude-code-review.yml, and claude.yml.
Also fixes two latent issues in claude-code-review.yml found by checking a real run's log (unrelated to the checkout bump, but the same file was already open):
claude_args: '--allowedTools mcp__github_inline_comment__create_inline_comment'. The review runs in agent mode (a bareprompt:, no@claudemention), which only registers MCP tools listed inclaude_args, not the code-review plugin's own frontmatter - without this the inline-comment tool never starts and every review was silently falling back to one consolidated PR comment instead of real inline comments.actions: writeto the job's permissions. There's no narrower cache-write-only scope; without it, the action's internal cache-save step was silently failing with a warning every run, with the job still reporting success.