You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works great when pushes or PRs are from branches of the repository itself. But when someone clones the repository and create a pull request, than the CODACY_PROJECT_TOKEN is not found, even when the action is executed in my repository.
codacy-coverage-reporter-linux: OK
2024-03-24 13:52:01.253Z error [CodacyCoverageReporter] Invalid configuration: Either a project or account API token must be provided or available in an environment variable - (CodacyCoverageReporter.scala:28)
--> Failed!
Error: Process completed with exit code 1.
Is this a bug in the reporter or a problem in my configuration?
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Pull-Request from contributors can't find CODACY_PROJECT_TOKEN
[TCE-897] Pull-Request from contributors can't find CODACY_PROJECT_TOKEN
Mar 27, 2024
Both actions fall with message: ... error [CodacyCoverageReporter] Invalid configuration: Either a project or account API token must be provided or available in an environment variable - (CodacyCoverageReporter.scala:28)
I setup this file in GitHub to report the coverage to codacy:
https://github.com/LibrePDF/OpenPDF/blob/master/.github/workflows/maven.yml
the relevant part is this:
This works great when pushes or PRs are from branches of the repository itself. But when someone clones the repository and create a pull request, than the
CODACY_PROJECT_TOKEN
is not found, even when the action is executed in my repository.Like in this case:
https://github.com/LibrePDF/OpenPDF/actions/runs/8409782739
This is the error code:
Is this a bug in the reporter or a problem in my configuration?
The text was updated successfully, but these errors were encountered: