Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2300

SonarCloud action is triggered on forks and fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • Infrastructure
    • 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.

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: