File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed
Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change 4949 - name : Install dependencies
5050 run : bundle install
5151
52+ - name : SonarQube Scan (Pull Request)
53+ if : matrix.version == '3.2.2' && github.event_name == 'pull_request'
54+ uses :
SonarSource/[email protected] 55+ env :
56+ SONAR_TOKEN : ${{ secrets.SONARQUBE_TOKEN }}
57+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58+ with :
59+ projectBaseDir : .
60+ args : >
61+ -Dsonar.java.source=17
62+ -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
63+ -Dsonar.projectVersion=${{ env.VERSION }}
64+ -Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
65+ -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
66+ -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
67+
5268 - name : Run tests
5369 run : bundle exec rake
5470
7389 -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
7490 -Dsonar.projectVersion=${{ env.VERSION }}
7591
76- - name : SonarQube Scan (Pull Request)
77- if : matrix.version == '3.2.2' && github.event_name == 'pull_request'
78- uses :
SonarSource/[email protected] 79- env :
80- SONAR_TOKEN : ${{ secrets.SONARQUBE_TOKEN }}
81- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82- with :
83- projectBaseDir : .
84- args : >
85- -Dsonar.java.source=17
86- -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
87- -Dsonar.projectVersion=${{ env.VERSION }}
88- -Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
89- -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
90- -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
You can’t perform that action at this time.
0 commit comments