8000 🐛 Use config-set token as CLI default fallback by webknjaz · Pull Request #464 · codecov/codecov-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Use config-set token as CLI default fallback #464

New issue 8000

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

webknjaz
Copy link
Contributor

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.

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#codecovtoken
8000
@webknjaz
Copy link
Contributor Author

Hey @thomasrockhu-codecov, I've found another v4 regression FYI ^

@webknjaz
Copy link
Contributor Author

@joseph-sentry @giovanni-guidini any chance any of you could trigger the CI?

@thomasrockhu-codecov thomasrockhu-codecov merged commit 992826d into codecov:main Jun 26, 2024
22 checks passed
@webknjaz
Copy link
Contributor Author

I was confused by these failures on main: https://github.com/codecov/codecov-cli/actions/runs/9686076902/job/26727674869#step:6:14. But then, I saw they existed before merging this PR as well.

@webknjaz
Copy link
Contributor Author

@joseph-sentry @thomasrockhu-codecov would you mind making a new release with this patch included?

webknjaz added a commit to aio-libs/yarl that referenced this pull request Jun 27, 2024
This duplicates the effort of the config file temporarily. It should
get reverted once codecov/codecov-cli#464 is
released.
@thomasrockhu-codecov
Copy link
Contributor

@webknjaz a new release (0.7.2) is currently being deployed with your change.

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.

3 participants
0