Skip to content

Commit 0ce6c8b

Browse files
committed
(#255) Only run sonar step if SONAR_TOKEN is set
1 parent 42ea9d6 commit 0ce6c8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .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)