Skip to content

Commit

Permalink
cleanup sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
harrel56 committed Sep 17, 2023
1 parent 7025a9d commit 0e0c5e7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ jobs:
with:
gradle-version: wrapper

- name: SonarCloud analyze
- name: SonarCloud analyze master
if: needs.get-info.outputs.pullRequestNumber == ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew sonar --info

- name: SonarCloud analyze PR
if: needs.get-info.outputs.pullRequestNumber != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit 0e0c5e7

Please sign in to comment.