Skip to content

Commit 58c5aa1

Browse files
authored
Merge pull request #256 from nut-tree/feature/255/conditional_sonar
(#255) Only run sonar step if SONAR_TOKEN is set
2 parents 42ea9d6 + 0ce6c8b commit 58c5aa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
50+
if: ${{ env.SONAR_TOKEN != null }}
5051

5152
test:
5253
needs:

0 commit comments

Comments
 (0)