Skip to content

CHEF-4896: Configures SonarQube #6

CHEF-4896: Configures SonarQube

CHEF-4896: Configures SonarQube #6

Workflow file for this run

name: Sonarqube
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarqube:
name: SonarQube
#runs-on: ubuntu-latest
runs-on: ip-range-controlled
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}