matrix-org/SonarCloud
Helper action to analyse repo with SonarCloud, pass correct PR details and upload coverage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 9, 2026
- License
- Apache 2.0
Pinned Snippet
uses: matrix-org/sonarcloud-workflow-action@820f7c2e9e94ba9e35add0f739691e5c7e23fa25 # v4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| is_pr | Whether this workflow run related to a PR, if true then `repository` must be specified. | no | — |
| skip_coverage_label | A label to check the pull request for, if present will exclude all files from coverage. Only valid with is_pr=true. | no | — |
| version_cmd | The shell command to find the version to pass to Sonar as projectVersion | yes | — |
| repository | The full name of the head repo in org/repo format | yes | — |
| branch | The name of the head branch | yes | — |
| revision | The git revision with which this sonar run should be associated | yes | — |
| token | The SONAR_TOKEN passed from secrets. | yes | — |
| coverage_run_id | The run_id of the workflow which upload the coverage relevant to this run, if any | no | — |
| coverage_artifact_name | The name of the coverage artifact | no | coverage |
| coverage_extract_path | The path to which to extract the artifact, defaults to the checkout root `.` | no | . |
| skip_checkout | Whether to skip the checkout step, sometimes some setup- action needs to run between checkout & analysis | no | false |
Outputs
no outputs