Skip to content

Commit

Permalink
Merge pull request #300 from hms-dbmi/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
b32147 authored Nov 5, 2024
2 parents 62a7bb6 + 216cd05 commit ea29da6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/code-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Code Scan

on:
pull_request:
branches: [ master, development ]
schedule:
- cron: '0 12 * * 1' # runs at 12:00 UTC on Mondays
workflow_dispatch:

jobs:
scan:
uses: hms-dbmi/actions/.github/workflows/code-scan.yml@main
secrets:
SONAR_HOST_URL: ${{ secrets.BLHMSDBMI_SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.BLHMSDBMI_SONAR_TOKEN }}
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectKey=hms-dbmi_dbmi-fileservice_e78292f8-f5d1-4b7f-8de9-f04d6c887c86

# relative paths to source directories. More details and properties are described
# at https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/
sonar.sources=fileservice/

# Set python version
sonar.python.version=3.11

0 comments on commit ea29da6

Please sign in to comment.