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.
2 parents ef50b7e + 4596536 commit 5467a31Copy full SHA for 5467a31
1 file changed
.github/workflows/build.yml
@@ -46,7 +46,7 @@ jobs:
46
restore-keys: ${{ runner.os }}-sonar
47
48
- name: SonarQube Scan
49
- if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
+ if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && secrets.SONAR_TOKEN != ''
50
env:
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments