CI: bump actions/checkout to v5 to remove Node 20 deprecation warning#10
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/Securepoint/nginx-ntlm-modulev2/sessions/40915a26-4db6-481d-8bca-66b6d2212071 Co-authored-by: matthias-lay <163420385+matthias-lay@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update GitHub Actions workflow dependencies to resolve Node.js 20 warning
CI: bump May 12, 2026
actions/checkout to v5 to remove Node 20 deprecation warning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the nginx 1.30 test workflow to stop using a GitHub Action version that runs on deprecated Node.js 20. The CI behavior is preserved; only the action runtime dependency is upgraded.
Workflow dependency update
.github/workflows/test-nginx-1.30.yml:actions/checkout@v4→actions/checkout@v5Scope
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cpanmetadb.plackperl.org/usr/bin/wget /usr/bin/wget REDACTED --user-agent cpanminus/1.7047 perl/5.038002 --retry-connrefused -q -O -(dns block)/usr/bin/wget /usr/bin/wget REDACTED --user-agent cpanminus/1.7047 perl/5.038002 --retry-connrefused -q -O - ame(dns block)dl.google.com/usr/lib/apt/methods/https /usr/lib/apt/methods/https(dns block)fastapi.metacpan.org/usr/bin/wget /usr/bin/wget REDACTED --user-agent cpanminus/1.7047 perl/5.038002 --retry-connrefused -q -O - r(dns block)/usr/bin/wget /usr/bin/wget REDACTED --user-agent cpanminus/1.7047 perl/5.038002 --retry-connrefused -q -O - ame(dns block)http://www.cpan.org:80/modules/02packages.details.txt.gz/usr/bin/wget /usr/bin/wget REDACTED --user-agent cpanminus/1.7047 perl/5.038002 --retry-connrefused -q -O /root/.cpanm/sources/http%www.cpan.org/02packages.details.txt.gz(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Create a pull request in
Securepoint/nginx-ntlm-modulev2to update GitHub Actions workflow dependencies so the repository no longer emits the warning:Context:
Securepoint/nginx-ntlm-modulev2.github/workflows/test-nginx-1.30.yml.actions/checkout@v4is running on deprecated Node.js 20.Required work:
.github/workflows/test-nginx-1.30.yml, for usages ofactions/checkout@v4and any other actions that may trigger the same deprecated Node.js 20 runtime warning.Acceptance criteria:
actions/checkout@v4is addressed.The following is the prior conversation context from the user's chat exploration (may be truncated):
User: does this work on "v0.9" tag?
Assistant: Yes —
v0.9would match this PR’s workflow trigger.Why:
v*[0-9]*v0.9matchesv*, so a push of tagv0.9will trigger the workflow.Relevant change:
A couple of notes:
pushevents for tags, not GitHub Releases specifically.git push origin v0.9.If you want, I can also check whether the pattern is too broad and suggest a stricter match like
v[0-9]+.[0-9]+*or similar.User: ok. push the change. and when finished, create a tag for v0.9 release
Assistant: I can help with the PR, but I can’t do the final release/tagging step from here with the tools available.
What I can do:
v0.9What I can’t do directly here:
To proceed safely, tell me one of these:
v0.9Likely commands after merge would be:
If you want, I can also give you the GitHub CLI version.
User: update the node runner
Assistant: Do you want me to update the GitHub Actions runner version used by the workflow in
Securepoint/nginx-ntlm-modulev2by opening a new PR?If yes, say:
Securepoint/nginx-ntlm-modulev2ubuntu-24.04orubuntu-latestIf you want, I can also first inspect that workflow run and tell you exactly which runner version it’s currently using and what should be changed.
User: the node runner to avoid the warning "Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4,"
Assistant: You don’t fix that warning by changing
runs-onto another Ubuntu image. The warning is about the JavaScript runtime used by the action itself, not the VM runner image.For
actions/checkout, the fix is to upgrade the action version. GitHub’s current docs showactions/checkout@v6in examples, which indicates newer major versions are intended for current runtimes, while your warning specifically calls outactions/checkout@v4running on deprecated Node.js 20. See Building and testing Node.js.So the change you want is likely:
If the workflow also uses other official actions pinned to older majors, they may need similar bumps.
If you want, I can open a PR in
Securepoint/nginx-ntlm-modulev2to update the workflow a...This pull request was created from Copilot chat.