We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9ffae3 commit 4ec2d92Copy full SHA for 4ec2d92
.github/workflows/sonarqube.yml
@@ -2,8 +2,8 @@ name: SonarQube Scan
2
3
on:
4
push:
5
- branches:
6
- - main
+ # branches:
+ # - main
7
pull_request:
8
types: [opened, synchronize, reopened]
9
@@ -29,4 +29,10 @@ jobs:
29
env:
30
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
31
# use https://your-sonarqube-server.com if using sonarqube or else use https://sonarcloud.io for sonarcloud
32
- SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
+ SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
33
+
34
+ - name: Quality Gate Check
35
+ uses: SonarSource/sonarqube-quality-gate-action@v1.1.0
36
+ timeout-minutes: 5
37
+ env:
38
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments