All checks were successful
SonarQube Code Quality Scan / SonarQube Scan (push) Successful in 3m36s
26 lines
595 B
YAML
26 lines
595 B
YAML
name: SonarQube Code Quality Scan
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
sonarqube:
|
|
name: SonarQube Scan
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone Repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # Required for advanced SonarQube features like blame info
|
|
|
|
- name: Run SonarQube Scanner
|
|
uses: sonarsource/sonarqube-scan-action@v4
|
|
env:
|
|
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
|
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
|