diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml new file mode 100644 index 00000000000..1d7051c8ecc --- /dev/null +++ b/.github/workflows/sonarqube.yml @@ -0,0 +1,18 @@ +name: SonarQube + +on: + push: + branches: + - branch_8_3 + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + sonarqube: + uses: Unity-Technologies/github-actions-workflows/.github/workflows/sonarqube.yml@main + with: + coverage: false \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000000..ec32258512c --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,7 @@ +sonar.projectKey=lucene-solr +sonar.projectName=lucene-solr +sonar.projectVersion=1.0 + +sonar.links.scm=https://github.com/Unity-Technologies/lucene-solr +sonar.pullrequest.github.repository=Unity-Technologies/lucene-solr +sonar.exclusions=**/*.test.js,frontend_tests/**,docs/** \ No newline at end of file