Skip to content

Commit be9d2e0

Browse files
authored
Enable Sonar runner for PRs #1065 (#1066)
This reverts #997 commit e8a45cb.
1 parent 69c9b5d commit be9d2e0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/github.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282

8383
sonar:
8484
needs: build
85-
if: github.event_name != 'pull_request'
8685
runs-on: ubuntu-latest
8786
steps:
8887
- uses: actions/checkout@v2
@@ -119,5 +118,4 @@ jobs:
119118
- name: Generate and publish Sonar report
120119
run: ./gradlew sonarqube -Dsonar.projectKey=kobylynskyi_graphql-java-codegen -Dsonar.organization=kobylynskyi -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_LOGIN }} --stacktrace
121120
env:
122-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123-
121+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)