From b7a6474d3299b9a7cb960c682631a4a9d02bce35 Mon Sep 17 00:00:00 2001 From: Eran Rivlis Date: Sun, 1 Dec 2024 23:03:48 +0200 Subject: [PATCH] remove Sonar GitHub action --- .github/workflows/sonar.yml | 20 -------------------- .sonarcloud.properties | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/sonar.yml create mode 100644 .sonarcloud.properties diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml deleted file mode 100644 index 20c5a19..0000000 --- a/.github/workflows/sonar.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Sonar -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened] -jobs: - sonarcloud: - name: SonarQube Cloud - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: SonarQube Cloud Scan - uses: SonarSource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 0000000..3344df9 --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,15 @@ +# Path to sources +#sonar.sources=. +#sonar.exclusions= +#sonar.inclusions= + +# Path to tests +#sonar.tests= +#sonar.test.exclusions= +#sonar.test.inclusions= + +# Source encoding +#sonar.sourceEncoding=UTF-8 + +# Exclusions for copy-paste detection +#sonar.cpd.exclusions= \ No newline at end of file