Skip to content

Commit d96a8b0

Browse files
authored
Merge branch 'main' into dependabot/maven/org.springframework-spring-web-7.0.5
2 parents 92bb356 + 4596536 commit d96a8b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
restore-keys: ${{ runner.os }}-sonar
4747

4848
- name: SonarQube Scan
49-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
49+
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && secrets.SONAR_TOKEN != ''
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)