From a07fe4456556b48b3ccd68358e3878bb28b419ce Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 3 Nov 2022 11:46:31 +0000 Subject: [PATCH] Update matrix-org/sonarcloud-workflow-action (#2845) --- .github/workflows/sonarcloud.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index c1a7423ab..3c0c4b943 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -5,6 +5,11 @@ on: secrets: SONAR_TOKEN: required: true + inputs: + extraArgs: + type: string + required: false + description: "Extra args to pass to SonarCloud" jobs: sonarqube: runs-on: ubuntu-latest @@ -22,7 +27,7 @@ jobs: - name: "🩻 SonarCloud Scan" id: sonarcloud - uses: matrix-org/sonarcloud-workflow-action@v2.2 + uses: matrix-org/sonarcloud-workflow-action@v2.3 with: repository: ${{ github.event.workflow_run.head_repository.full_name }} is_pr: ${{ github.event.workflow_run.event == 'pull_request' }} @@ -33,8 +38,8 @@ jobs: coverage_run_id: ${{ github.event.workflow_run.id }} coverage_workflow_name: tests.yml coverage_extract_path: coverage - - + extraArgs: ${{ inputs.extraArgs }} + - uses: Sibz/github-status-action@v1 if: always() with: