This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Commit 992826d
authored
🐛 Use config-set token as CLI default fallback (#464)
Just like in the old days... Before this patch, the v4-related rewrite
of the Codecov uploader CLI lost the ability to use the token set in
the config file [[1]]. This change fixes the regression recovering the
original behavior.
The bug has been discovered during the re-configuration of
``codecov/codecov-action`` in ``pytest-dev/pytest``. We use the
clear-text token to improve stability of uploads in PRs from forks so
it makes sense to keep it in the config rather than in the GitHub
Actions CI/CD definition file.
[1]: https://docs.codecov.com/docs/codecovyml-reference#codecovtoken1 parent 65a32bc commit 992826d
File tree
2 files changed
+48
-0
lines changed- codecov_cli
- tests/commands
2 files changed
+48
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments