GitHub Actions Workflow doesn't work correctly for PR from forks
CAMOBAP opened this issue · 1 comments
CAMOBAP commented
Problem
https://github.com/hCaptcha/hcaptcha-android-sdk/actions/runs/4703861808/jobs/8394211306
GitHub Actions Workflow doesn't work correctly for PR from forks, it fails on:
Sonar Job:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sdk:sonarqube'.
> Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator
Diffuse Job:
Error: Resource not accessible by integration
Error: See this action's readme for details about this error
Proposed solution
Check those links to find/implement a solution:
CAMOBAP commented
A new approach is implemented. Will be closed after test on some fork-based PR