Skip to content

Commit 92ff445

Browse files
authored
Enable pull request trigger for SonarCloud workflow
1 parent 1c63c02 commit 92ff445

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/codetest-sonarcloud.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Unit tests & Sonar Scan
33
on:
44
push:
55
branches: [ "main" ]
6-
# pull_request:
7-
# types: [opened, synchronize, reopened]
6+
pull_request:
7+
types: [opened, synchronize, reopened]
88
workflow_dispatch:
99

1010
jobs:
@@ -112,4 +112,4 @@ jobs:
112112
uses: SonarSource/sonarqube-scan-action@v5.0.0
113113
env:
114114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
115-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
115+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)