Files
Tunetti/.gitea/workflows/sonar.yaml
NikkeDoy c0f1044144
All checks were successful
SonarQube Code Quality Scan / SonarQube Scan (push) Successful in 3m36s
🎉 | Project added
2026-05-31 23:03:55 +03:00

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 }}