Skip to content

Commit a065d8d

Browse files
committed
Revert implementation of template
1 parent d3cc846 commit a065d8d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

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

7676
- name: 'Run SonarCloud scanner'
77-
uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
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 }}
7886
with:
79-
sonar-token: ${{ secrets.SONAR_TOKEN }}
87+
args: -Dsonar.branch.name=${{ github.ref_name }}

0 commit comments

Comments
 (0)