Skip to content

Update codecov/codecov-action action to v7 - #119

Merged
okkez merged 3 commits into
masterfrom
renovate/codecov-codecov-action-7.x
Nov 27, 2026
Merged

okkez merged 3 commits into
masterfrom
renovate/codecov-codecov-action-7.x

Conversation

@renovate

@renovate renovate Bot commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
codecov/codecov-action action major v1.5.2 → v7.1.1

Release Notes

codecov/codecov-action

v7.1.1

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v7.1.0...v7.1.1

v7.1.0

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v7.0.0...v7.1.0

v7.0.0

Compare Source

⚠️ Due to migration issues with keybase, we are unable to update our keys under the codecovsecurity account. We have deleted the account and are using codecovsecops with the original gpg key

What's Changed

Full Changelog: codecov/codecov-action@v6.0.1...v7.0.0

v6.0.2

Compare Source

This is a copy of the v7.0.0 release to make updates easier

What's Changed

Full Changelog: codecov/codecov-action@v6.0.1...v6.0.2

v6.0.1

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v6.0.0...v6.0.1

v6.0.0

Compare Source

⚠️ 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.5

Compare Source

This release only contains the keybase.io change as described here.

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

v5.5.4

Compare Source

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

Compare Source

What's Changed

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

v5.5.2

Compare Source

What's Changed

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

v5.5.1

Compare Source

What's Changed

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

v5.5.0

Compare Source

What's Changed

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

v5.4.3

Compare Source

What's Changed

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

v5.4.2

Compare Source

What's Changed

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

v5.4.1

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.4.0..v5.4.1

v5.4.0

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.3.1..v5.4.0

v5.3.1

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.3.0..v5.3.1

v5.3.0

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.2.0..v5.3.0

v5.2.0

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.1.2..v5.2.0

v5.1.2

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.1.1..v5.1.2

v5.1.1

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.1.0..v5.1.1

v5.1.0

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.0.7..v5.1.0

v5.0.7

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.0.6..v5.0.7

v5.0.6

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.0.5..v5.0.6

v5.0.5

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.0.4..v5.0.5

v5.0.4

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.0.3..v5.0.4

v5.0.3

Compare Source

What's Changed

Full Changelog: https://github.com/codecov/codecov-action/compare/v5.0.2..v5.0.3

v5.0.2

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v5.0.1...v5.0.2

v5.0.1

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v5.0.0...v5.0.1

v5.0.0

Compare Source

v5 Release

v5 of the Codecov GitHub Action will use the Codecov Wrapper to encapsulate the CLI. This will help ensure that the Action gets updates quicker.

Migration Guide

The v5 release also coincides with the opt-out feature for tokens for public repositories. In the Global Upload Token section of the settings page of an organization in codecov.io, you can set the ability for Codecov to receive a coverage reports from any source. This will allow contributors or other members of a repository to upload without needing access to the Codecov token. For more details see how to upload without a token.

[!WARNING]
The following arguments have been changed

  • file (this has been deprecated in favor of files)
  • plugin (this has been deprecated in favor of plugins)

The following arguments have been added:

  • binary
  • gcov_args
  • gcov_executable
  • gcov_ignore
  • gcov_include
  • report_type
  • skip_validation
  • swift_project

You can see their usage in the action.yml file.

v4.6.0

Compare Source

What's Changed

v4.5.0

Compare Source

What's Changed

v4.4.1

Compare Source

What's Changed

v4.4.0

Compare Source

What's Changed

Full Changelog: codecov/codecov-action@v4.3.1...v4.4.0

v4.3.1

Compare Source

What's Changed

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/codecov-codecov-action-7.x branch from ef46a5a to 715a1d8 Compare September 20, 2026 02:30
@renovate
renovate Bot force-pushed the renovate/codecov-codecov-action-7.x branch from 715a1d8 to 9eaa6a2 Compare November 26, 2026 08:33
- codecov-action v7 no longer accepts the `file` input, so the coverage
  path was silently ignored
- Specify ./cover.out via `files` so the unit test coverage is uploaded
@renovate

renovate Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

- Codecov rejects tokenless uploads with "Token required because branch
  is protected", so coverage was silently not uploaded
- Authenticate with GitHub OIDC so no CODECOV_TOKEN secret is needed
- Grant id-token: write to the job and keep contents: read for checkout
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.24%. Comparing base (83eda54) to head (937482a).
⚠️ Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
- Coverage   81.23%   80.24%   -1.00%     
==========================================
  Files          15       16       +1     
  Lines         453      572     +119     
==========================================
+ Hits          368      459      +91     
- Misses         63       91      +28     
  Partials       22       22              
Flag Coverage Δ
unittests 80.24% <ø> (-1.00%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@okkez

okkez commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Additional changes on top of the Renovate update

Bumping codecov/codecov-action from v1.5.2 to v7.1.1 alone kept CI green, but coverage was no longer uploaded. I pushed two commits to fix this.

1. file → files (710a6db)

v7 has no file input (only files), so file: ./cover.out was ignored. It now uses files: ./cover.out.

2. Upload via OIDC (937482a)

With no token, Codecov rejected the upload:

 -> Token length: 0
error -- Upload queued for processing failed: {"message":"Token required because branch is protected"}

CI still passed because fail_ci_if_error defaults to false, so the failure was silent.

To fix this without adding a CODECOV_TOKEN secret, the action now authenticates with GitHub OIDC:

  • The build job sets permissions: { contents: read, id-token: write }. contents: read is listed explicitly because a job-level permissions block drops every permission it does not list.
  • The action passes use_oidc: true.

Result

Run 45941752067 passed, and the upload succeeded:

 -> Token length: 1895
info -- Found 1 coverage files to report
info --   > /home/runner/work/columnify/columnify/cover.out
info -- Upload queued for processing complete

Only the PR run has been checked. After merging, please confirm that the upload also succeeds for the push to master.

@okkez
okkez merged commit ae1e079 into master Nov 27, 2026
2 of 3 checks passed
@okkez
okkez deleted the renovate/codecov-codecov-action-7.x branch November 27, 2026 05:48
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