You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/03/23 13:56:00 UTC

[jira] [Created] (DAFFODIL-2300) SonarCloud action is triggered on forks and fails

Steve Lawrence created DAFFODIL-2300:
----------------------------------------

             Summary: SonarCloud action is triggered on forks and fails
                 Key: DAFFODIL-2300
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2300
             Project: Daffodil
          Issue Type: Bug
          Components: Infrastructure
            Reporter: Steve Lawrence


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)