actions-marketplace-validations/Code Inspector github
Ensure your code quality meet given standards
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo_token | Token to checkout the repository. | yes | — |
| code_inspector_access_key | Access key on Code Inspector | yes | — |
| code_inspector_secret_key | Secret key on Code Inspector | yes | — |
| min_quality_grade | Minimum grade. Valid options are EXCELLENT, GOOD, NEUTRAL, WARNING, CRITICAL. Leave blank to ignore. | yes | "" |
| min_quality_score | Minimum quality score from 0 (worst) to 100 (best) | yes | 0 |
| max_defects_rate | Maximum defect rate per line of code (e.g. 0.01 for 1 defect per 100 lines of code). Leave 0 to ignore. | yes | 0 |
| max_complex_functions_rate | Maximum number of complex functions rate (e.g. number of complex functions / number of functions). Leave 0 to ignore. | yes | 0 |
| max_long_functions_rate | Maximum number of long functions rate (e.g. number of long functions / number of functions). Leave 0 to ignore. | yes | 0 |
| project_name | Project on code inspector. Will use the preferences of this analysis. Leave blank and no preferences are used | yes | "" |
| max_timeout_sec | Timeout before giving up (in case analysis takes too long). Default is 10 minutes | yes | 600 |
Outputs
no outputs