Skip to content

Commit 3007a90

Browse files
authored
Replace generic action with vanilla action
1 parent 35b326a commit 3007a90

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)