Skip to content

fix: Various bug fixes and cleanups #132

fix: Various bug fixes and cleanups

fix: Various bug fixes and cleanups #132

Workflow file for this run

on:
pull_request_target:
types: [opened, synchronize, reopened]
name: Sonar
jobs:
sonar:
name: Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
with:
args: >
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
-Dsonar.pullrequest.branch=${{ github.head_ref }}
-Dsonar.pullrequest.base=${{ github.base_ref }}
-Dsonar.scm.revision=${{ github.event.pull_request.head.sha }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}