Thanks to visit codestin.com
Credit goes to github.com

Skip to content

build(deps): bump codecov/codecov-action from 5 to 6#740

Merged
openshift-merge-bot[bot] merged 1 commit into
masterfrom
dependabot/github_actions/codecov/codecov-action-6
Mar 27, 2026
Merged

build(deps): bump codecov/codecov-action from 5 to 6#740
openshift-merge-bot[bot] merged 1 commit into
masterfrom
dependabot/github_actions/codecov/codecov-action-6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 26, 2026

Bumps codecov/codecov-action from 5 to 6.

Release notes

Sourced from codecov/codecov-action's releases.

v6.0.0

⚠️ This version introduces support for node24 which make cause breaking changes for systems that do not currently support node24. ⚠️

What's Changed

Full Changelog: codecov/codecov-action@v5.5.4...v6.0.0

v5.5.4

This is a mirror of v5.5.2. v6 will be released which requires node24

What's Changed

Full Changelog: codecov/codecov-action@v5.5.3...v5.5.4

v5.5.3

What's Changed

Full Changelog: codecov/codecov-action@v5.5.2...v5.5.3

v5.5.2

What's Changed

New Contributors

Full Changelog: codecov/codecov-action@v5.5.1...v5.5.2

v5.5.1

What's Changed

... (truncated)

Changelog

Sourced from codecov/codecov-action's changelog.

v5.5.2

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.5.1..v5.5.2

v5.5.1

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.5.0..v5.5.1

v5.5.0

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.4.3..v5.5.0

v5.4.3

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.4.2..v5.4.3

v5.4.2

... (truncated)

Commits

Summary by CodeRabbit

  • Chores
    • Updated code coverage reporting infrastructure.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 26, 2026
@openshift-ci openshift-ci Bot requested review from metlos and xcoulon March 26, 2026 15:04
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 26, 2026

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a codeready-toolchain member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fa7f7da1-f3c6-4957-ba2a-b59db02c9afd

📥 Commits

Reviewing files that changed from the base of the PR and between 2a7a50e and b3ecc3a.

📒 Files selected for processing (1)
  • .github/workflows/upload-coverage.yml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/upload-coverage.yml

Walkthrough

Updated the Codecov GitHub Actions workflow step from codecov/codecov-action@v5 to codecov/codecov-action@v6, preserving all existing configuration parameters unchanged.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/upload-coverage.yml
Upgraded Codecov action from v5 to v6; kept with inputs (token, files, flags, fail_ci_if_error) unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: upgrading codecov/codecov-action from version 5 to 6, which directly corresponds to the file changes in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/codecov/codecov-action-6

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/upload-coverage.yml (1)

22-22: Pin the action to a commit SHA instead of a mutable tag.

Using @v6 is mutable and weaker for supply-chain integrity. Prefer pinning to the exact release commit SHA.

🔒 Proposed hardening change
-        uses: codecov/codecov-action@v6
+        uses: codecov/codecov-action@<full-length-v6-release-commit-sha>

You can fetch the correct SHA from the v6 release page/compare link before applying.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/upload-coverage.yml at line 22, Replace the mutable tag
usage in the workflow step that currently reads "uses:
codecov/codecov-action@v6" with the repository@<commit-sha> form pinned to the
exact commit SHA from the v6 release; locate the "uses:
codecov/codecov-action@v6" line in the upload-coverage.yml step, fetch the
corresponding commit SHA from the v6 release/compare page on GitHub, and update
the value to "uses: codecov/codecov-action@<SHA>" to ensure the action is pinned
to an immutable commit.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/upload-coverage.yml:
- Line 22: Update the GitHub Action reference string used in the workflow:
replace the non-existent "codecov/codecov-action@v6" with a valid v5 release
(e.g., "codecov/codecov-action@v5" or pin to "codecov/[email protected]") so
the workflow uses the supported Codecov action version; ensure the rest of the
step (inputs like token, files, flags, fail_ci_if_error) remains unchanged.

---

Nitpick comments:
In @.github/workflows/upload-coverage.yml:
- Line 22: Replace the mutable tag usage in the workflow step that currently
reads "uses: codecov/codecov-action@v6" with the repository@<commit-sha> form
pinned to the exact commit SHA from the v6 release; locate the "uses:
codecov/codecov-action@v6" line in the upload-coverage.yml step, fetch the
corresponding commit SHA from the v6 release/compare page on GitHub, and update
the value to "uses: codecov/codecov-action@<SHA>" to ensure the action is pinned
to an immutable commit.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5c279472-e299-44c0-a913-a9967f1169c2

📥 Commits

Reviewing files that changed from the base of the PR and between f138bfa and 2a7a50e.

📒 Files selected for processing (1)
  • .github/workflows/upload-coverage.yml


- name: Upload to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v6
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

What are the official runtime/platform requirements for codecov/codecov-action v6 (Node.js runtime, minimum GitHub Actions runner version, and GitHub Enterprise Server compatibility), and what breaking changes from v5 to v6 affect existing inputs like token, files, flags, or fail_ci_if_error?

💡 Result:

No official v6 release of codecov/codecov-action exists as of 2026-03-26. The latest version is v5.5.3 (released March 2026). All references are to v5 as the current major version. Node.js runtime: Node.js 20 (updated via PR #1228 merged Jan 2024; v3 used Node 16 before, transitioned to 20 to address deprecation). Note: Node 20 actions deprecated; dependency actions/github-script uses Node 20 (Issue #1919, Mar 2026), but GitHub will force Node 24 by June 2026. Minimum GitHub Actions runner version: No specific minimum stated beyond standard GitHub-hosted runners (ubuntu-latest, etc.). Requires bash, curl, git, gpg (pre-installed on GitHub runners). Self-hosted runners must be v2.329.0+ by Mar 16, 2026 (GitHub changelog). GitHub Enterprise Server compatibility: Yes, auto-detects GHES usage (PR #1356, Apr 2024); supports github_enterprise git_service; works with self-hosted Codecov Enterprise (use_legacy_upload_endpoint: true may be needed). Breaking changes v5 to v6: No v6 exists, so none. v4 to v5 changes (for context): file -> files, plugin -> plugins; removed gcov_* args, skip_validation, etc.; added binary, gcov_args, etc.; uses Codecov Wrapper. Inputs like token, files, flags, fail_ci_if_error unchanged/supported in v5. Use @v5 (points to latest v5.x).

Citations:


Change @v6 to @v5 — v6 does not exist.

codecov/codecov-action@v6 does not have an official release as of March 2026. The latest version is v5.5.3. Update the action reference to @v5 to use the latest v5.x release, or pin to a specific release like @v5.5.3. Inputs like token, files, flags, and fail_ci_if_error are fully supported in v5 with no compatibility issues on ubuntu-24.04.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/upload-coverage.yml at line 22, Update the GitHub Action
reference string used in the workflow: replace the non-existent
"codecov/codecov-action@v6" with a valid v5 release (e.g.,
"codecov/codecov-action@v5" or pin to "codecov/[email protected]") so the
workflow uses the supported Codecov action version; ensure the rest of the step
(inputs like token, files, flags, fail_ci_if_error) remains unchanged.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect. It's there.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexeykazakov, you are correct, and I apologize for the incorrect review comment. v6.0.0 does exist, with a full changelog at https://github.com/codecov/codecov-action/compare/v5.5.4...v6.0.0. v6 requires node24. The upgrade from v5 to v6 in this PR is valid. I was wrong to flag it.

(╯°□°)╯

@alexeykazakov
Copy link
Copy Markdown
Contributor

/ok-to-test

@alexeykazakov
Copy link
Copy Markdown
Contributor

/lgtm

Copy link
Copy Markdown
Contributor

@MatousJobanek MatousJobanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/retest
/lgtm

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 27, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, dependabot[bot], MatousJobanek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [MatousJobanek,alexeykazakov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/codecov/codecov-action-6 branch from 2a7a50e to b3ecc3a Compare March 27, 2026 14:31
@openshift-ci openshift-ci Bot removed the lgtm label Mar 27, 2026
@sonarqubecloud
Copy link
Copy Markdown

@alexeykazakov
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Mar 27, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit d725b0a into master Mar 27, 2026
12 checks passed
@dependabot dependabot Bot deleted the dependabot/github_actions/codecov/codecov-action-6 branch March 27, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code lgtm ok-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants