Closed straumat closed 2 years ago
Internal ticket created : CY-4762
In the meanwhile it seems that you've changed to use the script instead of the action, correct? Everything is working now?
Related to the issue, it seems that what maybe cause the problem was a misalignment between CODACY_PROJECT_TOKEN
and CODACY_API_TOKEN
that have scopes of a repository or your account respectively.
I can see that you do --project-token ${{ secrets.CODACY_API_TOKEN }}
which is fine, as you can call the secret as you prefer on your repository, but on the action you were passing it as api-token:
. Assuming that you didn't change the token, and it was always a repository level token, the necessary change to be able to use the action would be project-token:: ${{ secrets.CODACY_API_TOKEN }}
.
Let me know if you are still facing problems uploading coverage.
Yes! everything is working now! i can close the issue
My project is here: https://github.com/cassandre-tech/cassandre-trading-bot and the workflow I'm using is here: https://github.com/cassandre-tech/cassandre-trading-bot/blob/development/.github/workflows/continuous-integration.yml.
I've added this to my workflow:
I have this error in the CI: