We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfcf068 commit 623be53Copy full SHA for 623be53
.github/workflows/ci.yml
@@ -73,7 +73,15 @@ jobs:
73
- name: Coding style PSR12 Check
74
run: vendor/bin/phpcs
75
76
- - name: Run SonarCloud scanner
77
- uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
+ - name: 'Run SonarCloud scanner'
+ if: ${{contains(github.ref, '/pull/')}}
78
+ uses: SonarSource/[email protected]
79
+ env:
80
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
81
82
+ if: ${{!contains(github.ref, '/pull/')}}
83
84
85
86
with:
- sonar-token: ${{ secrets.SONAR_TOKEN }}
87
+ args: -Dsonar.branch.name=${{ github.ref_name }}
0 commit comments