Skip to content

Commit 14f576e

Browse files
Update SonarQube scan trigger to include pull_request_target events
1 parent 5000bed commit 14f576e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
-Dsonar.projectVersion=${{ env.VERSION }}
5656
5757
- name: SonarQube Scan (Pull Request)
58-
if: github.event_name == 'pull_request'
58+
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
5959
uses: SonarSource/sonarqube-scan-action@v7
6060
env:
6161
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}

0 commit comments

Comments
 (0)