From a88e08530c74957f5ebe3ef916800981790ca78f Mon Sep 17 00:00:00 2001 From: Emily Nicholson Date: Mon, 8 Jul 2024 10:29:10 -0700 Subject: [PATCH] GENE-2727: Onboard this repo to Sonarqube https://jira.unity3d.com/browse/GENE-2727 --- .github/workflows/sonarqube.yml | 18 ++++++++++++++++++ sonar-project.properties | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/sonarqube.yml create mode 100644 sonar-project.properties 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