Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10614

Decorate Pull Requests using SonarCloud Github App installation Access token

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: None
    • Labels:
      None

      Description

      When the SonarCloud GitHub App is installed onto an GitHub Organization, SonarCloud should use the data from the Webhook it received to get and store the id of that installation.

      Then, whenever an analysis report is processed on SonarCloud, if the analysis (or the project) appear to be done from source of a Github Repository belonging to this Github Organization, we should:

      • create an installation access token
      • check whether the repository is accessible to the SonarCloud app's installation
      • if so, do PR decoration with the installation access token
      • otherwise fallback to PR decoration with previous implementation

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: