Skip to content

Commit 6f56604

Browse files
authored
Update main.yml
1 parent 93d0fca commit 6f56604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159159

160160
sonarcloud:
161-
if: github.event_name != 'schedule'
161+
if: github.event_name != 'schedule' && secrets.SONAR_TOKEN
162162
runs-on: ubuntu-latest
163163
steps:
164164
- name: Checkout repository

0 commit comments

Comments
 (0)