Skip to content

Bump actions/checkout and actions/setup-python to v7 - #419

Merged
jpcottin merged 3 commits into
google:masterfrom
jpcottin:chore/bump-github-actions-v7
Oct 6, 2026
Merged

jpcottin merged 3 commits into
google:masterfrom
jpcottin:chore/bump-github-actions-v7

Conversation

@jpcottin

@jpcottin jpcottin commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

The v4 and v5 releases of these actions run on Node.js 20, which GitHub Actions has deprecated. Every CI run on master currently shows this warning on each job:

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.

The v7 releases of both actions target Node.js 24. No other change to the workflow.

The remaining annotation on CI runs, the notice that ubuntu-latest moves to Ubuntu 26 on October 19, 2026, is informational and not addressed here.

The v4 and v5 releases run on Node.js 20, which GitHub Actions has
deprecated: every CI run on master currently prints a warning that they
are being forced onto Node.js 24. The v7 releases target Node.js 24.
The repository's workflow policy (zizmor's unpinned-uses check) requires
actions to be pinned to a commit hash rather than a tag.
The job only checks out the repository and runs pytest. Without a
permissions block the token gets the default, broader permissions,
which the workflow policy (zizmor) rejects.
@jpcottin
jpcottin merged commit 0aa7b0d into google:master Oct 6, 2026
11 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.

1 participant