vidadv1/Scanwise Code Analysis
SonarQube Scan, Analysis Summary and Reports on GitHub Action without a dedicated hosted SonarQube Server
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sonar-project-name | SonarQube Project Name | no | ${{github.event.repository.name}} |
| sonar-project-key | SonarQube Project Key | no | ${{github.event.repository.name}} |
| sonar-source-path | SonarQube Source Path from Git Root | no | — |
| sonar-metrics-path | SonarQube Metrics JSON Path from Git Root | no | — |
| sonar-instance-port | SonarQube Instance Port | no | — |
| sonar-options | SonarQube Scanner Options | no | — |
| pre-scan-script | Either a path to a Bash script or a raw multi-line script to be executed before Sonar scan. For example to configure Sonar Server with api before scan." | no | — |
| generate-pr-comment | Comment in PR with SonarQube Analysis Summary Only used in PR mode | no | false |
| new-code-n-days | Specifies the number of days to define the 'New Code' period relative to the current date. Ex. value: '3d' Only used in BRANCH mode | no | 30d |
| reports-scopes | Comma separated list of SonarQube Reports to generate. Available values: - overall - new Ex. values: - '["overall", "new"]' - '["new"]' - '[]' | no | [] |
| reports-extensions | Comma separated list of SonarQube Report Types. Available values: - md - html - json - pdf Ex. values: - '["md","html"]' - '["json"]' - '[]' | no | ["html"] |
| timeout-pdf | Timeout for PDF generation (Integer). No timeout (0) by default. | no | 0 |
| reports-retention-days | How many days are the reports available in github artifacts. | no | 0 |
Outputs
| name | description |
|---|---|
| scanwise-overall-code-reports-artifact-id | — |
| scanwise-new-code-reports-artifact-id | — |
| scanwise-analysis-summary | — |