Skip to content
New issue

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

Add codecov token #242

Closed
manulera opened this issue Jul 15, 2024 · 4 comments
Closed

Add codecov token #242

manulera opened this issue Jul 15, 2024 · 4 comments
Assignees

Comments

@manulera
Copy link
Collaborator

Hi @BjornFJohansson, I think you may have add the codecov token to the repository. I can't see on my side if you have added it.

Below is the explanation on how to do it.

https://docs.codecov.com/docs/adding-the-codecov-token

This caused this action to fail https://github.com/BjornFJohansson/pydna/actions/runs/9942066709/job/27467718816

With this error:

{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1853s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1850s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1848s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1846s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1844s.', code='throttled')}{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected time to availability: 1842s.', code='throttled')}
@BjornFJohansson
Copy link
Owner

I think it should be there already?

image

@manulera
Copy link
Collaborator Author

manulera commented Jul 19, 2024

I think the issue here then might have to do with the pull request coming from a forked repository? I am not sure the forked repo can use the token in its action. Not sure if there is a safe way to let the actions coming from forked repositories to use the token. Did this come up before?

@manulera manulera closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2024
@manulera
Copy link
Collaborator Author

manulera commented Oct 8, 2024

This seems to be a problem that other people have, and I have not managed to find a simple solution:

codecov/feedback#358

@manulera
Copy link
Collaborator Author

manulera commented Oct 9, 2024

Actually fixed by updating the version of the action in fd8577c

@manulera manulera closed this as completed Oct 9, 2024
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

No branches or pull requests

2 participants