Skip to content

Commit 65ac505

Browse files
authored
Merge pull request #21 from minvws/ci/update-sonar-action
Replace generic action with vanilla action
2 parents 1b6bbd9 + 3007a90 commit 65ac505

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
run: composer phpcs
3737
- name: Execute tests (Unit and Feature)
3838
run: composer test
39-
- name: Run SonarCloud scanner
40-
uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
41-
with:
42-
sonar-token: ${{ secrets.SONAR_TOKEN }}
39+
- name: 'Run SonarCloud scanner'
40+
if: ${{contains(github.ref, '/pull/')}}
41+
uses: SonarSource/[email protected]
42+
env:
43+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)