dyte-in/Pull Request Linter
Ensure your PR bodies match a given regex.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| body-regex | Regex to ensure a match is found in the body. Allows anything by default. | no | .* |
| body-regex-flags | Flags for the body regex (such as 'i' for ignore case). | no | ig |
| on-failed-regex-create-review | Whether the action should create a PR review & comment when the regex doesn't match. | no | true |
| on-failed-regex-comment | Comment for the bot to post on PRs that fail the regex. Use %regex% to reference regex. | no | PR title failed to match %regex%. |
| on-failed-regex-fail-action | Whether the action should fail when the regex doesn't match. | no | false |
| on-failed-regex-request-changes | Whether the action should request changes or just provide a comment. | no | true |
| on-succeeded-regex-dismiss-review-comment | Comment for the bot to post on PRs that succeed the regex and have their review dismissed. | no | All good! |
| repo-token | Github token with access to the repository (secrets.GITHUB_TOKEN). | yes | — |
Outputs
no outputs