Skip to content

chore(deps): bump codecov/codecov-action from 6 to 7#251

Merged
dhalperi merged 1 commit into
masterfrom
dependabot/github_actions/codecov/codecov-action-7
Jun 9, 2026
Merged

chore(deps): bump codecov/codecov-action from 6 to 7#251
dhalperi merged 1 commit into
masterfrom
dependabot/github_actions/codecov/codecov-action-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps codecov/codecov-action from 6 to 7.

Release notes

Sourced from codecov/codecov-action's releases.

v7.0.0

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

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

What's Changed

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

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


This change is Reviewable

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 8, 2026
dhalperi added a commit that referenced this pull request Jun 9, 2026
Coverage upload failed on fork and Dependabot PRs because GitHub withholds
secrets from their pull_request runs, leaving CODECOV_TOKEN empty and the
upload rejected ("Token required because branch is protected").

Switch the trigger to pull_request_target, which runs in the base-repo
context where the token is available. Each checkout fetches the PR head sha
so coverage reflects the PR's code, and the upload passes override_commit
/override_pr to attribute coverage to the PR head. Guard the upload to PR
events or pushes to master, since Dependabot branch pushes lack the token.
This exposes the upload-only token to PR code, which is acceptable here.

Also upload from every matrix version, each under a per-version flag
(python-3.10 ... python-3.14); Codecov merges all uploads for a commit. Add
codecov.yml with after_n_builds so the report is not finalized from a
partial set of uploads.

----

Prompt:
```
Debug #251 - why does the
codecov action fail and what do I have to do to fix it?
```

Follow-up: clarified to provide accurate coverage on any external PR (not
just avoid failing), with CODECOV_TOKEN exposure acceptable; and to upload
from all matrix versions rather than one.
dhalperi added a commit that referenced this pull request Jun 9, 2026
Coverage upload failed on fork and Dependabot PRs because GitHub withholds
secrets from their pull_request runs, leaving CODECOV_TOKEN empty and the
upload rejected ("Token required because branch is protected").

Switch the trigger to pull_request_target, which runs in the base-repo
context where the token is available. Each checkout fetches the PR head sha
so coverage reflects the PR's code, and the upload passes override_commit
/override_pr to attribute coverage to the PR head. Guard the upload to PR
events or pushes to master, since Dependabot branch pushes lack the token.
This exposes the upload-only token to PR code, which is acceptable here.

Also upload from every matrix version, each under a per-version flag
(python-3.10 ... python-3.14); Codecov merges all uploads for a commit. Add
codecov.yml with after_n_builds so the report is not finalized from a
partial set of uploads.

----

Prompt:
```
Debug #251 - why does the
codecov action fail and what do I have to do to fix it?
```

Follow-up: clarified to provide accurate coverage on any external PR (not
just avoid failing), with CODECOV_TOKEN exposure acceptable; and to upload
from all matrix versions rather than one.
@dhalperi

dhalperi commented Jun 9, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/codecov/codecov-action-7 branch from c49ba66 to ebf4407 Compare June 9, 2026 03:23
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.13%. Comparing base (8f824fd) to head (ebf4407).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #251   +/-   ##
=======================================
  Coverage   96.13%   96.13%           
=======================================
  Files           8        8           
  Lines         621      621           
=======================================
  Hits          597      597           
  Misses         24       24           
Flag Coverage Δ
python-3.10 96.13% <ø> (ø)
python-3.11 96.13% <ø> (ø)
python-3.12 96.13% <ø> (ø)
python-3.13 96.13% <ø> (ø)
python-3.14 96.13% <ø> (ø)

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.

@dhalperi dhalperi enabled auto-merge (squash) June 9, 2026 03:25

@dhalperi dhalperi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@dhalperi reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved.

@dhalperi dhalperi merged commit 7df0357 into master Jun 9, 2026
16 checks passed
@dhalperi dhalperi deleted the dependabot/github_actions/codecov/codecov-action-7 branch June 9, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant