Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Whenever we push a branch to a fork, the sonarcloud github action is tiggered on that fork. Since most people probably don't have a personal sonarcloud account associated with their fork this is going to fail and sends an email. This can be annoying and potentially confusing for new contributors.
We should modify this action so that it is only triggered conditionally. Maybe we detect when the repo is not the main apache repo, or perhaps skip it if the SONAR_TOKEN environment variable is not set. Maybe there's some other alternative.