From 617cb6192499c1a20d4f2d251921f3ce67da5a5b Mon Sep 17 00:00:00 2001 From: amvanbaren Date: Thu, 16 Nov 2023 16:55:11 +0200 Subject: [PATCH] Remove duplicate env block --- .github/workflows/sonar.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 30eea3c8..71d74a3d 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -57,9 +57,6 @@ jobs: -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }} - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: SonarCloud Scan on push if: github.event.workflow_run.event == 'push' && github.event.workflow_run.head_repository.full_name == github.event.repository.full_name uses: sonarsource/sonarcloud-github-action@master