Changing order of scan and quality gate check.
This commit is contained in:
@@ -23,13 +23,6 @@ jobs:
|
|||||||
# SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
# SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||||
# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
|
|
||||||
- name: SonarQube Quality Gate Check
|
|
||||||
id: quality-gate
|
|
||||||
uses: SonarSource/sonarqube-quality-gate-action@v1.1.0
|
|
||||||
env:
|
|
||||||
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
|
||||||
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
|
||||||
|
|
||||||
# - name: Fetch SonarQube Project Status
|
# - name: Fetch SonarQube Project Status
|
||||||
# id: fetch-status
|
# id: fetch-status
|
||||||
# uses: prasiman/gocurl@v1
|
# uses: prasiman/gocurl@v1
|
||||||
@@ -74,6 +67,13 @@ jobs:
|
|||||||
project_key: rinoa-docker
|
project_key: rinoa-docker
|
||||||
pull_request_id: ${{ gitea.event.pull_request.number }}
|
pull_request_id: ${{ gitea.event.pull_request.number }}
|
||||||
|
|
||||||
|
- name: SonarQube Quality Gate Check
|
||||||
|
id: quality-gate
|
||||||
|
uses: SonarSource/sonarqube-quality-gate-action@v1.1.0
|
||||||
|
env:
|
||||||
|
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||||
|
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
|
|
||||||
# - name: SonarQube Pull Request Comment
|
# - name: SonarQube Pull Request Comment
|
||||||
# if: always()
|
# if: always()
|
||||||
# uses: campos-pay/sonarqube-pr-comment@v0.1.5
|
# uses: campos-pay/sonarqube-pr-comment@v0.1.5
|
||||||
|
|||||||
Reference in New Issue
Block a user