We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b30fd46 commit 1ec108bCopy full SHA for 1ec108b
.github/workflows/build.yml
@@ -127,7 +127,7 @@ jobs:
127
name: Analyze Code
128
runs-on: ubuntu-latest
129
needs: coverage
130
- if: github.event_name == 'push'
+ if: ${{ !(github.event.workflow_run.head_repository.fork) }}
131
steps:
132
- name: Checkout
133
uses: actions/checkout@v3
@@ -156,4 +156,4 @@ jobs:
156
env:
157
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
159
- run: mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
+ run: mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
0 commit comments