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 99e6d33 commit 1310086Copy full SHA for 1310086
.github/workflows/build.yml
@@ -74,7 +74,6 @@ jobs:
74
sonarCloudTrigger:
75
needs: build
76
name: SonarCloud Trigger
77
- if: github.repository == 'creativeprojects/resticprofile'
78
runs-on: ubuntu-latest
79
steps:
80
- name: Clone Repository
@@ -91,6 +90,7 @@ jobs:
91
90
92
- name: Analyze with SonarCloud
93
uses: SonarSource/sonarqube-scan-action@v5
+ if: ${{ env.SONAR_TOKEN != '' }}
94
env:
95
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments