Skip to content

Commit

Permalink
Prevent SonarQube running on fork (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicgreffier authored Feb 15, 2025
1 parent 8baf120 commit fe238de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
path: ${{ github.workspace }}/target/suricate-widget-tester.jar

- name: Sonar
if: env.SONAR_TOKEN != ''
run: mvn verify sonar:sonar -DcentralAnalyzerEnabled=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit fe238de

Please sign in to comment.