Skip to content

Commit a07fe44

Browse files
authored
Update matrix-org/sonarcloud-workflow-action (#2845)
1 parent 0a35f2e commit a07fe44

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
secrets:
66
SONAR_TOKEN:
77
required: true
8+
inputs:
9+
extraArgs:
10+
type: string
11+
required: false
12+
description: "Extra args to pass to SonarCloud"
813
jobs:
914
sonarqube:
1015
runs-on: ubuntu-latest
@@ -22,7 +27,7 @@ jobs:
2227

2328
- name: "🩻 SonarCloud Scan"
2429
id: sonarcloud
25-
uses: matrix-org/sonarcloud-workflow-action@v2.2
30+
uses: matrix-org/sonarcloud-workflow-action@v2.3
2631
with:
2732
repository: ${{ github.event.workflow_run.head_repository.full_name }}
2833
is_pr: ${{ github.event.workflow_run.event == 'pull_request' }}
@@ -33,8 +38,8 @@ jobs:
3338
coverage_run_id: ${{ github.event.workflow_run.id }}
3439
coverage_workflow_name: tests.yml
3540
coverage_extract_path: coverage
36-
37-
41+
extraArgs: ${{ inputs.extraArgs }}
42+
3843
- uses: Sibz/github-status-action@v1
3944
if: always()
4045
with:

0 commit comments

Comments
 (0)