hCaptcha / hcaptcha-android-sdk

Android SDK for hCaptcha
https://www.hcaptcha.com
MIT License
69 stars 33 forks source link

GitHub Actions Workflow doesn't work correctly for PR from forks #109

Open CAMOBAP opened 1 year ago

CAMOBAP commented 1 year ago

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 2 months ago

A new approach is implemented. Will be closed after test on some fork-based PR