Files
typescript-config/.gitea/workflows/sonar-pr.yml
T
naomi e1802d7c27
Node.js CI / Lint and Test (pull_request) Successful in 18s
Code Analysis / SonarQube (pull_request) Successful in 46s
feat: we can't use pr scanning on the free tier...
Can't believe we have to pay for that even on a self-hosted instance.
2025-02-26 12:57:17 -08:00

30 lines
592 B
YAML

name: Code Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
sonar:
name: SonarQube
steps:
- name: Checkout Source Files
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sonar
uses: SonarSource/sonarqube-scan-action@v4
timeout-minutes: 10
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: "https://quality.nhcarrigan.com"
with:
args: >
-Dsonar.sources=.
-Dsonar.projectKey=typescript-config