File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 11name : Build
2-
32on :
43 push :
54 branches :
65 - main
7-
8-
6+ pull_request :
7+ types : [opened, synchronize, reopened]
98jobs :
10- build :
11- name : Build and analyze
9+ sonarqube :
10+ name : SonarQube
1211 runs-on : ubuntu-latest
13-
1412 steps :
1513 - uses : actions/checkout@v4
1614 with :
1715 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
18- - uses : SonarSource/sonarqube-scan-action@v5
16+ - name : SonarQube Scan
17+ uses : SonarSource/sonarqube-scan-action@v6
1918 env :
2019 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
21- SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
22- # If you wish to fail your job when the Quality Gate is red, uncomment the
23- # following lines. This would typically be used to fail a deployment.
24- # - uses: SonarSource/sonarqube-quality-gate-action@v1
25- # timeout-minutes: 5
26- # env:
27- # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments