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: