Skip to content

Commit fa64014

Browse files
committed
Use new action template
1 parent 623be53 commit fa64014

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ jobs:
7474
run: vendor/bin/phpcs
7575

7676
- name: 'Run SonarCloud scanner'
77-
if: ${{contains(github.ref, '/pull/')}}
78-
uses: SonarSource/[email protected]
79-
env:
80-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
81-
- name: 'Run SonarCloud scanner'
82-
if: ${{!contains(github.ref, '/pull/')}}
83-
uses: SonarSource/[email protected]
84-
env:
85-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
77+
uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
8678
with:
87-
args: -Dsonar.branch.name=${{ github.ref_name }}
79+
sonar-token: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)