Skip to content

[Repo Assist] CI: upgrade GitHub Actions β€” checkout v4, setup-node v4, Node 20Β #283

@github-actions

Description

@github-actions

πŸ€– This PR was created by Repo Assist, an automated AI assistant.

Summary

Updates the two GitHub Actions workflow files to use current action versions and a supported Node.js runtime.

File Change
pull-request.yml actions/checkout@v2 β†’ @v4
pull-request.yml actions/setup-node@v2.4.0 β†’ @v4
pull-request.yml node-version: 14.17.* β†’ '20'
publish.yml actions/checkout@v2 β†’ @v4

Why

  • checkout@v4: v2 is deprecated. v4 adds sparse-checkout support, better performance, and correctly handles new runner environments.
  • setup-node@v4 / Node 20: Node.js 14 reached end-of-life in April 2023 and is no longer receiving security updates. Node 20 is the current LTS release and will be supported until April 2026. Using an EOL Node version can cause npm compatibility warnings and may eventually break.

Test Status

βœ… Build succeeded (0 errors, pre-existing warnings only).

No tests were changed β€” the CI change itself cannot be tested in a pre-merge build, but the action versions are well-established and widely used.

Generated by Repo Assist Β· β—·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@346204513ecfa08b81566450d7d599556807389f

Warning

πŸ›‘οΈ Protected Files β€” Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files: .github/workflows/publish.yml, .github/workflows/pull-request.yml.

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission. A human must create the pull request manually.

To create a pull request with the changes:

# Download the patch from the workflow run
gh run download 23171879855 -n agent-artifacts -D /tmp/agent-artifacts-23171879855

# Create a new branch
git checkout -b repo-assist/eng-update-ci-actions-2026-03-17-59dea1679211558a main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-artifacts-23171879855/aw-repo-assist-eng-update-ci-actions-2026-03-17.patch

# Push the branch and create the pull request
git push origin repo-assist/eng-update-ci-actions-2026-03-17-59dea1679211558a
gh pr create --title '[Repo Assist] CI: upgrade GitHub Actions β€” checkout v4, setup-node v4, Node 20' --base main --head repo-assist/eng-update-ci-actions-2026-03-17-59dea1679211558a --repo fsprojects/FSharp.Control.AsyncSeq

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions