Skip to content

Commit

Permalink
Skip Sonar step in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
nightm4re94 committed Dec 14, 2024
1 parent 6bddadb commit 77d820e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
if: ${{!github.event.pull_request.head.repo.fork}}
if: github.event.repository.fork == false
run: ./gradlew sonar -PskipSpotless

- name: Code Style Validation
Expand Down

0 comments on commit 77d820e

Please sign in to comment.