We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aca5639 commit c10d44cCopy full SHA for c10d44c
.github/workflows/tests.yml
@@ -44,6 +44,8 @@ jobs:
44
run: mvn --batch-mode --update-snapshots package
45
46
- name: SonarQube Cloud Scan
47
+ # No need to run SonarCloud analysis if dependabot update or token not defined
48
+ if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]')
49
run: mvn --batch-mode sonar:sonar
50
env:
51
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments