Skip to content

Commit e510418

Browse files
authored
Update python-app.yml
1 parent d6813df commit e510418

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ jobs:
4545
- uses: actions/checkout@v4
4646
with:
4747
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
48-
- uses: sonarsource/sonarqube-scan-action@master
48+
- uses: SonarSource/sonarqube-scan-action@v4
4949
env:
5050
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5151
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
52+
# If you wish to fail your job when the Quality Gate is red, uncomment the
53+
# following lines. This would typically be used to fail a deployment.
54+
# - uses: SonarSource/sonarqube-quality-gate-action@v1
55+
# timeout-minutes: 5
56+
# env:
57+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)