Merge pull request #256 from nut-tree/feature/255/conditional_sonar

(#255) Only run sonar step if SONAR_TOKEN is set
This commit is contained in:
Simon Hofmann
2021-08-14 00:24:00 +02:00
committed by GitHub
+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: