Skip to content

Sonarqube integration with project #16

Sonarqube integration with project

Sonarqube integration with project #16

Workflow file for this run

name: Sonarqube_CI
on:
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
build:
name: Sonarqube_CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# Job will fail when the Quality Gate is red
- uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}