valencesec/Check pull request info
Check the last commit message in pr and the body of the pr against a regex pattern
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| body | body of pr in json format | yes | — |
| title | title of pr in json format | yes | — |
| commits | commits of pr in json format | yes | — |
| commits_pattern | A regex pattern to check if a commit message is valid. | yes | — |
| body_pattern | A regex pattern to check if the pr body is valid. | yes | — |
| title_pattern | A regex pattern to check if the pr body is valid. | yes | — |
| commits_flags | Expression flags change how the expression is interpreted. | no | "" |
| body_flags | Expression flags change how the expression is interpreted. | no | "" |
| title_flags | Expression flags change how the expression is interpreted. | no | "" |
| error | A error message which will be returned in case of an error. | yes | — |
| pre_error | A error message which will be showed in the begin of errors. | no | "" |
| post_error | A error message which will be showed in the end of errors. | no | "" |
Outputs
no outputs