File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : SonarQube scan
2+
3+ on :
4+ # Trigger analysis when pushing to your main branches, and when creating a pull request.
5+ push :
6+ branches :
7+ - main
8+ pull_request :
9+ types : [opened, synchronize, reopened]
10+
11+ jobs :
12+ sonarqube :
13+ name : SonarQube scan
14+ runs-on : ip-range-controlled
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ # Disabling shallow clone is recommended for improving relevancy of reporting
19+ fetch-depth : 0
20+ - name : SonarQube Scan
21+ uses : sonarsource/sonarqube-scan-action@master
22+ env :
23+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
24+ SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
Original file line number Diff line number Diff line change 1+ sonar.projectKey =inspec_magic-modules_AYzVMaVMhXuvzhhRmNV6
2+ sonar.projectName =Chef-Inspec-magic-modules
3+
4+ sonar.sources =.
You can’t perform that action at this time.
0 commit comments