Skip to content

Commit 191c03b

Browse files
authored
chore(skip-release): Update sonar.yml
Signed-off-by: Stephane Bouchet <[email protected]>
1 parent 8ef30bd commit 191c03b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sonar.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3939
run: |
4040
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)
41+
PR_NUMBER=$(<prInfo/PR)
42+
BASE_REF=$(<prInfo/base_ref)
43+
HEAD_REF=$(<prInfo/head_ref)
4444
./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}}
4545
else
4646
./gradlew sonarqube
4747
fi
4848
shell: bash
49-
49+

0 commit comments

Comments
 (0)