Skip to content

Commit

Permalink
Merge pull request #5433 from jrjohnson/configure-sonarqube
Browse files Browse the repository at this point in the history
Add UCSF SonarQube scanner
  • Loading branch information
dartajax committed May 8, 2024
2 parents 893497c + b64340e commit c771f46
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/scan-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: UCSF SonarQube Scan

on:
push:
branches:
- master
workflow_dispatch:

jobs:
scan:
name: Scan with SonarQube
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # disable shallow clone for full access to code
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: https://sonarqube.ucsf.edu
SONAR_PROJECT_KEY: ilios_ilios_99baf4a1-99a4-4d9a-adb9-2c1253c22751

0 comments on commit c771f46

Please sign in to comment.