Skip to content

Commit 7472e02

Browse files
Update .github/workflows/ci.yml
1 parent 7387230 commit 7472e02

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
@@ -76,14 +76,6 @@ jobs:
7676
run: vendor/bin/phpcs
7777

7878
- name: 'Run SonarQube cloud scanner'
79-
if: ${{contains(github.ref, '/pull/')}}
80-
uses: SonarSource/sonarqube-scan-action@v5
81-
env:
82-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
83-
- name: 'Run SonarQube cloud scanner'
84-
if: ${{!contains(github.ref, '/pull/')}}
85-
uses: SonarSource/sonarqube-scan-action@v5
86-
env:
87-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
79+
uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
8880
with:
89-
args: -Dsonar.branch.name=${{ github.ref_name }}
81+
sonar-token: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)