personal-site/.forgejo/workflows/sonar.yml
SevenOfAces a1a298383e
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 8s
Update .forgejo/workflows/sonar.yml
2025-03-06 03:59:45 +00:00

25 lines
No EOL
626 B
YAML

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: "SonarQube Quality gate"
uses: sonarsource/sonarqube-quality-gate-action@master
with:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}