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 58605fa commit 37132a9Copy full SHA for 37132a9
1 file changed
.github/workflows/scan.yml
@@ -74,5 +74,5 @@ jobs:
74
- name: Scan with SonarCloud
75
env:
76
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
77
- run: mvn clean install -Dgpg.skip=true sonar:sonar
+ run: mvn clean install -Dgpg.skip=true sonar:sonar ${{ contains(github.event_name, 'pull_request') && format('-Dsonar.pullrequest.key={0}', github.event.pull_request.number) || '' }}
78
0 commit comments