Commit 1bf7449
ci: don't fail CI when Codecov upload fails on fork PRs
The three Codecov upload steps use fail_ci_if_error: true with a
token-gated upload (CODECOV_TOKEN). GitHub Actions withholds secrets
from pull requests opened from forks, so the upload step fails and
turns the whole CI run red for external contributors, regardless of
whether their actual changes pass.
This restores the behaviour intentionally set in #1857
("keep running even if codecov upload fails"), which was reverted by
fe1e8a9 ("Fix codecov v4 configuration"). Coverage uploads from
trusted (non-fork) runs still happen; they just no longer hard-fail CI.1 parent 8949fc2 commit 1bf7449
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
0 commit comments