Skip to content

Adapt code repo to AutoConfig #6

Adapt code repo to AutoConfig

Adapt code repo to AutoConfig #6

Workflow file for this run

name: Build
on:
workflow_dispatch: # This line enables manual triggering of the workflow
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} # SonarQube URL is stored in a GitHub secret
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}