pki-manager/.gitea/workflows/analyse.yml

25 lines
671 B
YAML

name: Analyse SonarQube
on: [push]
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Debug Gitea variables
run: |
echo "GITEA_REF: ${GITEA_REF}"
echo "GITEA_SHA: ${GITEA_SHA}"
echo "All env variables:"
env
- name: Checking out
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v7.0.0
env:
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_HOST_URL: http://infra.bv.stef.lan:9000