Skip to content

Commit 376bc68

Browse files
authored
fix: sonar run on PR from own repo (#903)
1 parent 28c05b9 commit 376bc68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonar.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
test:
1717
runs-on: ubuntu-latest
18-
if: ${{ ( github.event_name == 'push' ) || ( github.event_name == 'pull_request' && github.event.pull_request.repository_owner == 'java-operator-sdk' ) }}
18+
if: ${{ ( github.event_name == 'push' ) || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'java-operator-sdk' ) }}
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Set up Java and Maven

0 commit comments

Comments
 (0)