sonarsource/pre-commit
run pre-commit checks
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| config-path | Optional, specify an alternative path to a .pre-commit-config.yaml file | no | .pre-commit-config.yaml |
| extra-args | extra arguments passed to pre-commit run command | no | "" |
| ignore-failure | Optional, do not fail the gh-action in case of pre-commit check failure | no | false |
Outputs
| name | description |
|---|---|
| status | Provide the exit code returned by pre-commit run command |
| logs | Logs from the pre-commit run command |