Skip to content

Commit d010ef7

Browse files
committed
Run Sonar on master again
1 parent c0dfa36 commit d010ef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
# doesn't work with PRs from forks, see https://jira.sonarsource.com/browse/MMF-1371
5252
- name: Build with Maven and run Sonar
53-
if: "${{ github.event.pull_request.head.repo.full_name == 'dnsjava/dnsjava' && matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11' }}"
53+
if: "${{ (github.ref == 'refs/heads/master' || github.event.pull_request.head.repo.full_name == 'dnsjava/dnsjava') && matrix.arch == 'x64' && matrix.os == 'ubuntu-20.04' && matrix.java == '11' }}"
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)