sepe81 commented on PR #854:
URL: https://github.com/apache/struts/pull/854#issuecomment-1908198160

   @lukaszlenart Would it be possible to skip the "SonarCloud / Scan 
(pull_request)" for PR builds from forks to avoid:
   
   Error:  Failed to execute goal 
org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594:sonar 
(default-cli) on project struts2-parent: Project not found. Please check the 
'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' 
environment variable, or contact the project administrator -> [Help 1]
   
   I guess it could be done under .github/workflows/sonar.yml but have no 
experience with github workflow config.
   Maybe check for the existence of SONAR_TOKEN?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to