Skip to content

Commit

Permalink
Update test.yml (#2615)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke authored Jun 19, 2023
1 parent d65e2bd commit 0282c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
with:
name: "${{ github.sha }}-coverage"
- name: sonarcloud
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft }}
if: ${{ env.SONAR_TOKEN != null && env.GIT_DIFF && !github.event.pull_request.draft }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0282c3b

Please sign in to comment.