Skip to content

Commit 5047b5c

Browse files
committed
Don't fail build when triggered from a fork
1 parent 4432ad9 commit 5047b5c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: Build with Gradle
2828
run: ./gradlew clean build --info --stacktrace --warning-mode all
2929
- name: Sonar analysis
30+
if: ${{ env.SONAR_TOKEN != null }}
3031
run: |
3132
./gradlew sonarqube -Dsonar.host.url=https://sonarcloud.io \
3233
-Dsonar.organization=kaklakariada-github \

0 commit comments

Comments
 (0)