From 4667469f54c9915d116d89fb075cb9d7fe243c65 Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Wed, 8 Dec 2021 15:19:07 +0100 Subject: [PATCH] Remove SonarCloud from workflow It is useless in most of our workflows, since our PRs mostly come from external forks, which cannot access the secret SONAR_TOKEN. Running SonarCloud on automatic instead. --- .github/workflows/build-and-test.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 876736d86c..ed4c3aecac 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -116,16 +116,4 @@ jobs: echo done - sonarcloud: - name: SonarCloud - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: SonarCloud 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 }}