(#255) Only run sonar step if SONAR_TOKEN is set

This commit is contained in:
Simon Hofmann
2021-08-13 23:04:11 +02:00
parent 42ea9d60ed
commit 0ce6c8b942
+1
View File
@@ -47,6 +47,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
if: ${{ env.SONAR_TOKEN != null }}
test:
needs: