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 d83ea66 commit 7a58b82Copy full SHA for 7a58b82
1 file changed
.github/workflows/ci.yml
@@ -20,7 +20,11 @@ jobs:
20
run: make test
21
22
- name: Process test reports
23
+ id: report
24
run: make process-reports
25
+ env:
26
+ SONAR_ENABLED: ${{ !!secrets.SONAR_TOKEN }}
27
+ if: ${{ env.SONAR_ENABLED == 'true' }}
28
29
- name: Build Phar
30
run: make compile
@@ -35,3 +39,4 @@ jobs:
35
39
uses: SonarSource/sonarqube-scan-action@v5
36
40
env:
37
41
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
42
+ if: ${{ steps.report.conclusion == 'success' }}
0 commit comments