Skip to content

Commit

Permalink
ci(actions): disable sonarqube on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
s4heid committed Mar 29, 2021
1 parent 2e1c95d commit 0f1135a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/voter.yml
Expand Up @@ -50,7 +50,7 @@ jobs:
run: ./gradlew build test

- name: Run Sonarqube
if: success() && github.repository == 'SAP/neonbee' # do not run on forks
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit 0f1135a

Please sign in to comment.