Skip to content

SonarQube Scan

SonarQube Scan #28

Workflow file for this run

name: SonarQube Scan
on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
scan:
name: Sonar Scan Runner
runs-on: ubuntu-latest
if: github.repository_owner == 'trimble-oss'
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Run Sonar Scan Action
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}