We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ef30bd commit 191c03bCopy full SHA for 191c03b
.github/workflows/sonar.yml
@@ -38,12 +38,12 @@ jobs:
38
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
39
run: |
40
if [ '${{github.event.workflow_run.event}}' == 'pull_request' ]; then
41
- PR_NUMBER=$(<build/PR)
42
- BASE_REF=$(<build/base_ref)
43
- HEAD_REF=$(<build/head_ref)
+ PR_NUMBER=$(<prInfo/PR)
+ BASE_REF=$(<prInfo/base_ref)
+ HEAD_REF=$(<prInfo/head_ref)
44
./gradlew sonarqube -Dsonar.pullrequest.base=$BASE_REF -Dsonar.pullrequest.branch=$HEAD_REF -Dsonar.pullrequest.key=$PR_NUMBER -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.repository=${{github.repository}}
45
else
46
./gradlew sonarqube
47
fi
48
shell: bash
49
-
+
0 commit comments