Skip to content

[Repo Assist] ci: update actions/checkout v2→v4 (Linux) and codecov-action v2→v5 #379

Closed as not planned

Description

@github-actions

🤖 This is an automated pull request from Repo Assist, an AI assistant.

Summary

Two CI workflow action version issues, tracked in #366 and #191:

  1. Inconsistency: The Linux job used actions/checkout@v2 while the Windows job already used actions/checkout@v4. checkout@v2 runs on the deprecated Node.js 12 runtime which GitHub has end-of-lifed.

  2. Outdated Codecov action: codecov/codecov-action@v2 uses the legacy Codecov uploader which was deprecated (see also Codecov upload seems to be broken with the latest altcover version #191). Updated to @v5 which uses the current Codecov CLI uploader and has better reliability.

Changes

File Change
.github/workflows/build-and-test.yml Linux: checkout@v2 → checkout@v4
.github/workflows/build-and-test.yml codecov/codecov-action@v2 → codecov/codecov-action@v5

Test Status

This is a CI configuration change only — no source or test code was modified. The change will be validated when this PR's CI run completes.

Closes #366
Addresses #191

Generated by 🌈 Repo Assist — an automated AI assistant. Workflow run


Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

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.

Create the pull request manually
# Download the patch from the workflow run
gh run download 24628621328 -n agent -D /tmp/agent-24628621328

# Create a new branch
git checkout -b repo-assist/eng-ci-action-updates-20260419-58b22da2a970250f developer

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-24628621328/aw-repo-assist-eng-ci-action-updates-20260419.patch

# Push the branch and create the pull request
git push origin repo-assist/eng-ci-action-updates-20260419-58b22da2a970250f
gh pr create --title '[Repo Assist] ci: update actions/checkout v2→v4 (Linux) and codecov-action v2→v5' --base developer --head repo-assist/eng-ci-action-updates-20260419-58b22da2a970250f --repo fslaborg/FSharp.Stats

Generated by 🌈 Repo Assist, see workflow run. Learn more.

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@97143ac59cb3a13ef2a77581f929f06719c7402a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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