We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0eed008 + 36a29f4 commit 85bf20cCopy full SHA for 85bf20c
.github/workflows/sonar-scan.yml
@@ -49,7 +49,7 @@ jobs:
49
-Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}"
50
51
- name: SonarQube Scan (Pull Request)
52
- if: github.event_name == 'pull_request'
+ if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
53
uses: SonarSource/sonarqube-scan-action@v6
54
env:
55
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
0 commit comments