In GitHub, on the page .../settings/secrets/actions, I have defined a repository secret CODACY_PROJECT_TOKEN, with the value I took from the page "Setting up code coverage" on https://app.codacy.com/.
When running this job, I get this error:
07/08 22:52:16 INFO c.c.a.c.c.Environment:72 - Project token not passed through argument `--project-token`
07/08 22:52:16 INFO c.c.a.c.c.Environment:72 - API token not passed through argument `--api-token`
07/08 22:52:16 WARN c.c.a.c.c.Environment:77 - Project token passed through environment variable `CODACY_PROJECT_TOKEN` is empty
07/08 22:52:16 WARN c.c.a.c.c.Environment:77 - API token passed through environment variable `CODACY_API_TOKEN` is empty
07/08 22:52:16 WARN c.c.a.cli.clients.Credentials:30 - Could not retrieve credentials
This is my
.github/workflows/codacy.yml
:In GitHub, on the page
.../settings/secrets/actions
, I have defined a repository secretCODACY_PROJECT_TOKEN
, with the value I took from the page "Setting up code coverage" on https://app.codacy.com/.When running this job, I get this error:
How do I fix this?