Skip to content

Commit 067cf29

Browse files
authored
Merge pull request #35 from cloudblue/check-sonar
Check sonar quality gate
2 parents f85daef + 5c88052 commit 067cf29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,13 @@ jobs:
3737
uses: SonarSource/sonarcloud-github-action@master
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
41+
- name: Wait sonar to process report
42+
uses: jakejarvis/wait-action@master
43+
with:
44+
time: '60s'
45+
- name: SonarQube Quality Gate check
46+
uses: sonarsource/sonarqube-quality-gate-action@master
47+
timeout-minutes: 5
48+
env:
4049
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)