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 92bb356 + 4596536 commit d96a8b0Copy full SHA for d96a8b0
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