thecanadianroot/SonarCloud Summary Action
Groups SonarCloud pull-request comments into a nicely formatted table comment. Useful for mono-repositories.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-repository | The GitHub repository (organization/repository_name) | yes | — |
| github-token | The GitHub token | yes | — |
| pull-request | The pull-request number | yes | — |
| commit | The commit from which comments will be considered. This is optional, but helps limit API calls to GitHub API. | — | — |
| comment-header | The comment header that you wish to use for the table comment. (defaults to: SonarCloud Summary:) | — | — |
| project-name-pattern | The pattern that will be used in order to find the project name in SonarCloud pull-request comments. This is optional and should work out of the box, but if you need something else, you must at least define a named group called project_name within your pattern. | — | — |
| quality-gate-pattern | The pattern that will be used in order to find the quality gate label line. This is optional and should work out of the box. | — | — |
| quality-gate-sub-pattern | The pattern that will be used in order to find what needs to be replaced within the quality gate label line. This is optional and should work out of the box. | — | — |
| quality-gate-sub-repl | The replacement that will be used for quality gate label line. This is optional and should work out of the box. | — | — |
| issues-pattern | The pattern that will be used in order to find the issues label line. This is optional and should work out of the box. | — | — |
| issues-sub-pattern | The pattern that will be used in order to find what needs to be replaced within the issues label line. This is optional and should work out of the box. | — | — |
| issues-sub-repl | The replacement that will be used for issues label line. This is optional and should work out of the box. | — | — |
| security-hotspots-pattern | The pattern that will be used in order to find the security hotspots label line. This is optional and should work out of the box. | — | — |
| security-hotspots-sub-pattern | The pattern that will be used in order to find what needs to be replaced within the security hotspots label line. This is optional and should work out of the box. | — | — |
| security-hotspots-sub-repl | The replacement that will be used for security hotspots label line. This is optional and should work out of the box. | — | — |
| code-coverage-pattern | The pattern that will be used in order to find the code coverage label line. This is optional and should work out of the box. | — | — |
| code-coverage-sub-pattern | The pattern that will be used in order to find what needs to be replaced within the code coverage label line. This is optional and should work out of the box. | — | — |
| code-coverage-sub-repl | The replacement that will be used for code coverage label line. This is optional and should work out of the box. | — | — |
| code-duplication-pattern | The pattern that will be used in order to find the code duplication label line. This is optional and should work out of the box. | — | — |
| code-duplication-sub-pattern | The pattern that will be used in order to find what needs to be replaced within the code duplication label line. This is optional and should work out of the box. | — | — |
| code-duplication-sub-repl | The replacement that will be used for code duplication label line. This is optional and should work out of the box. | — | — |
Outputs
no outputs