1
0
mirror of https://github.com/mc1arke/sonarqube-community-branch-plugin.git synced 2024-11-24 08:42:28 +02:00
sonarqube-community-branch-.../.github
Michael Clarke c3a686fb3f Fix execution of Sonarqube on forked repositories and pull requests
Github does not expose secrets during the execution of actions on pull requests from forked projects, so the Sonar task would always fail on external pull requests. Additionally, anyone forking the project would have had the Sonarqube step fail unless they'd specifically setup Sonarqube secrets on their fork. To overcome this, the `sonar` step is now executed based on the condition of the `SONAR_TOKEN` secret being present in the current execution environment.

Includes a fix for incorrect syntax and variable references in the Pull Request Sonar analysis block.
2020-06-07 14:17:18 +01:00
..
ISSUE_TEMPLATE Add a bug report template 2019-06-22 14:08:08 +01:00
workflows Fix execution of Sonarqube on forked repositories and pull requests 2020-06-07 14:17:18 +01:00