fix(workflows): bump GitHub Actions off Node.js 20 runtime - #67
Conversation
actions/checkout, aws-actions/configure-aws-credentials, and astral-sh/setup-uv were all still pinned to Node 20-targeting majors, which GitHub now force-runs on Node 24 with a deprecation warning. Bump to their latest majors (checkout v7, configure-aws-credentials v6, setup-uv v10), including the SHA-pinned refs in autodoc-executor.yml. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
🤖 Bedrock Review —
|
|
The The other 8 findings are generic "assumption/what to verify" boilerplate with no cited breaking change. Before bumping, I checked each action's actual release notes for the major versions crossed:
No action needed. |
…omments Semgrep github-actions-mutable-action-tag flagged 14 uses: refs pinned to mutable tags (checkout@v7, github-script@v7, configure-aws-credentials@v6, setup-uv@v10, claude-code-action@v1) across 6 workflows. Pin each to the resolved commit SHA with a version + release-URL comment, matching the convention already used in autodoc-executor.yml (also backfilled with URLs here per reviewer request). astral-sh/setup-uv@v10 turned out to be a nonexistent ref upstream (only v10.0.0/v10.0.1 tags exist) — pinned to v10.0.1 instead.
…g gotchas Codifies the pattern used in this PR's Semgrep fix: third-party uses: steps must pin full commit SHAs with a version + release-URL comment, plus how to resolve tags to SHAs and the GitHub tag-mutability pitfalls (dead major refs, annotated-tag dereferencing) hit while doing it.
🤖 Bedrock Review —
|
|
Re: the Bedrock review ( Verified directly against the diff: every No action needed on this batch of findings. |
…6850) peter-evans/create-or-update-comment @v4 (node20) -> @v5.0.0 (node24), at both sites in issue_comp_link-issue-to-pr.yml. This was a scoping mistake, not a deferral. It was filed under "cold-path third-party actions" for #37194, but it runs on **every pull request** via `Add Issue to PR / link-issue`, so it kept AC-001 unsatisfied: the annotation scan on this PR still reported Node.js 20 is deprecated. ... peter-evans/create-or-update-comment@v4 The cause: the PR-pipeline surface was traced through cicd_1-pr.yml's job graph only. Other workflows also fire on `pull_request` -- issue_open-pr.yml (which calls this composite), the five ai_claude-* workflows, dotbot-review.yml and cicd_pr_skill-lint.yml -- and they were not walked. Safe: v5.0.0's release notes are dependency bumps only, and every input in use here (issue-number, comment-id, body, edit-mode) is still present in v5's action.yml. The `edit-mode: replace` guard against comment accumulation (issue #35794) is untouched. Remaining Node 20 annotations on this PR are NOT fixable from this repository: `Claude AI Orchestrator` and `Claude AI Rollback Safety Check` run dotCMS/ai-workflows' reusable workflows, addressed by dotCMS/ai-workflows#67. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
@sfreudenthaler I am unable to create or modify gh tags |
Closes #68
actions/checkout,aws-actions/configure-aws-credentials, andastral-sh/setup-uvwere all still pinned to Node 20-targeting majors, which GitHub now force-runs on Node 24 with a deprecation warning. Bumps them to their latest majors — checkout v7.0.1, configure-aws-credentials v6.2.3, setup-uv v10.0.1 — across all seven workflow files, including the SHA-pinned refs inautodoc-executor.yml.Checked each major's breaking-change notes: none apply here (no boolean-style inputs to
configure-aws-credentials, andsetup-uv's v10 auto-cache change only affectsenable-cache: auto, not theenable-cache: trueused in this repo). Verified withactionlint(docker rhysd/actionlint:1.7.7) — clean.After merge:
git checkout main && git pull git tag v3.5.1 git push origin v3.5.1 git tag -f v3 main git push --force origin v3