Skip to content

Commit

Permalink
Further refinements on SonarQube (wpengine#869)
Browse files Browse the repository at this point in the history
* correct scanned sources

* do not run scans on forked repositories
  • Loading branch information
apmatthews authored May 12, 2022
1 parent eaab702 commit beb460c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sonarqube-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
name: SonarQube Scan
jobs:
sonarqube:
if: github.repository_owner == 'wpengine'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 4 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sonar.projectKey=faustjs
sonar.tests=./plugins/faustwp,./packages
sonar.test.inclusions=**/tests/**/*,**/test/**/*
sonar.exclusions=schema.generated.ts,**/tests/**/*,**/test/**/*
sonar.sources=examples/next/getting-started/src,internal/website/src,plugins/faustwp/includes,packages
sonar.tests=plugins/faustwp/tests,packages
sonar.test.inclusions=**/test/**
sonar.exclusions=schema.generated.ts,**/test/**

0 comments on commit beb460c

Please sign in to comment.