Skip to content

Update GitHub Actions to their Node 24 releases - #12

Merged
andreasthell merged 1 commit into
mainfrom
claude/update-actions-node24
Oct 8, 2026
Merged

andreasthell merged 1 commit into
mainfrom
claude/update-actions-node24

Conversation

@andreasthell

Copy link
Copy Markdown
Owner

GitHub warns that the Node 20 runtime is deprecated. Runs already force these actions onto Node 24:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5.

Action Before After Notes
actions/checkout v4 (node20) v7 (node24) v7 blocks checking out fork PRs for pull_request_target/workflow_run, which this workflow does not use
actions/setup-python v5 (node20) v7 (node24) No input or output changes
astral-sh/ruff-action v3 (node20) v4.1.0 (node24) Pinned to the full version because there is no floating v4 tag. The Ruff version is still discovered from pyproject.toml, else latest
softprops/action-gh-release v2 (node20) v3 (node24) v3.0.0 only moves the runtime to Node 24

I compared each action's action.yml before and after: the inputs this workflow uses (args, python-version, tag_name, generate_release_notes) are unchanged.

The Release job only runs on main, so action-gh-release@v3 is first exercised when this or the next release merges.

Once both this PR and #11 are merged, the new Tests (Home Assistant) job from #11 also uses checkout@v7 and setup-python@v7. #11 is updated to match.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UwYSvzP667Y5pkhzfs8obW


Generated by Claude Code

GitHub is phasing out the Node 20 runtime that actions/checkout@v4,
actions/setup-python@v5, astral-sh/ruff-action@v3 and
softprops/action-gh-release@v2 run on. Move to checkout@v7,
setup-python@v7, ruff-action@v4.1.0 (it has no floating v4 tag) and
action-gh-release@v3. The inputs used here are unchanged in all four.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UwYSvzP667Y5pkhzfs8obW
andreasthell pushed a commit that referenced this pull request Oct 8, 2026
Matches the action updates in #12, so the workflow is
consistent whichever pull request merges first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UwYSvzP667Y5pkhzfs8obW
@andreasthell
andreasthell merged commit 65fbe79 into main Oct 8, 2026
3 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