Skip to content

[PR #12508/9947ec3a backport][8.2.x] 🧪🚑 Pass a Codecov config to the action @ GHA#12513

Merged
The-Compiler merged 1 commit into8.2.xfrom
patchback/backports/8.2.x/9947ec3ad1a0fb9f85b092a50b0866b3870e37ad/pr-12508
Jun 21, 2024
Merged

[PR #12508/9947ec3a backport][8.2.x] 🧪🚑 Pass a Codecov config to the action @ GHA#12513
The-Compiler merged 1 commit into8.2.xfrom
patchback/backports/8.2.x/9947ec3ad1a0fb9f85b092a50b0866b3870e37ad/pr-12508

Conversation

@patchback
Copy link

@patchback patchback bot commented Jun 21, 2024

This is a backport of PR #12508 as merged into main (9947ec3).

The #11921 update broke uploading coverage of the main branch (or any in-repo pushes for that matter) to Codecov 4 months ago. Version 4 requires an upload token to be provided and since there was no configuration for it, the upload was failing. But the step itself was showing up as successful due to fail_ci_if_error: true being set. The error is visible in the console output, though.

This patch flips the setting to fail_ci_if_error: false and sets the Codecov upload token in the config in clear text. The non-secret part allows the PRs uploads to be more stable.

The #11921 update broke uploading coverage of the `main` branch (or
any in-repo pushes for that matter) to Codecov 4 months ago.
Version 4 requires an upload token to be provided and since there was
no configuration for it, the upload was failing. But the step itself
was showing up as successful due to `fail_ci_if_error: true` being
set. The error is visible in the console output, though.

This patch flips the setting to `fail_ci_if_error: false` and sets the
Codecov upload token in the config in clear text. The non-secret part
allows the PRs uploads to be more stable.

Co-authored-by: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
(cherry picked from commit 9947ec3)
@The-Compiler The-Compiler enabled auto-merge (squash) June 21, 2024 15:48
@The-Compiler The-Compiler merged commit d3dacc7 into 8.2.x Jun 21, 2024
@The-Compiler The-Compiler deleted the patchback/backports/8.2.x/9947ec3ad1a0fb9f85b092a50b0866b3870e37ad/pr-12508 branch June 21, 2024 16:08
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.

2 participants