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 d3cc846 commit a065d8dCopy full SHA for a065d8d
.github/workflows/ci.yml
@@ -74,6 +74,14 @@ jobs:
74
run: vendor/bin/phpcs
75
76
- name: 'Run SonarCloud scanner'
77
- uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main
+ 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
84
85
86
with:
- sonar-token: ${{ secrets.SONAR_TOKEN }}
87
+ args: -Dsonar.branch.name=${{ github.ref_name }}
0 commit comments