File tree Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Expand file tree Collapse file tree 2 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 11name : QA
2-
32on :
43 push :
54 branches :
65 - main
7-
6+ pull_request :
7+ types : [opened, synchronize, reopened]
88jobs :
9- build :
10- name : Build
9+ sonarcloud :
10+ name : SonarCloud
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
13+ - uses : actions/checkout@v4
1414 with :
1515 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16- - uses : sonarsource/sonarqube-scan-action@master
16+ - name : SonarCloud Scan
17+ uses : SonarSource/sonarcloud-github-action@master
1718 env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
1820 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
19- SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
20- # If you wish to fail your job when the Quality Gate is red, uncomment the
21- # following lines. This would typically be used to fail a deployment.
22- # - uses: sonarsource/sonarqube-quality-gate-action@master
23- # timeout-minutes: 5
24- # env:
25- # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1- sonar.projectKey =phplib-test
1+ sonar.projectKey =evosys21_pdflib
2+ sonar.organization =evosys21
3+
4+ # This is the name and version displayed in the SonarCloud UI.
5+ # sonar.projectName=pdflib
6+ # sonar.projectVersion=1.0
7+
8+
9+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
10+ # sonar.sources=.
11+
12+ # Encoding of the source code. Default is default system encoding
13+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments