personal-site/.forgejo/workflows/sonar.yml
SevenOfAces 52404700f0
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 21s
Update .forgejo/workflows/sonar.yml
2025-03-06 04:01:48 +00:00

25 lines
No EOL
644 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: https://github.com/sonarsource/sonarqube-quality-gate-action@master
env:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}