anecdotes-ai/Pull Request Linter
Ensure your PR titles match a given regex.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| title-regex | Regex to ensure PR title matches. Allows anything by default. | no | ^[Aa][Nn]-(?!0+[:\/])\d{4,6}[:\/].* |
| 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 name does not conform with convention 😵💫 (PR title must start with 'AN-' followed by a 4-6 digit non-zero ticket number, deliminated by a ':' or '/') |
| on-failed-regex-fail-action | Whether the action should fail when the regex doesn't match. | no | true |
| 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 | PR name conforms with convention - Great Success! 🥳 |
| repo-token | Github token with access to the repository (secrets.GITHUB_TOKEN). | yes | — |
Outputs
no outputs