Will this commit subject pass the repo's hooks?
rrt_validate_commitValidate a commit subject against Conventional Commits to ensure compliance before committing, preventing shell-quoting issues by passing the subject as a string.
Instructions
Check a commit subject against Conventional Commits as this repo enforces it, before you commit.
Prefer this over rrt-hooks commit-msg in a shell: the subject is passed as a
string argument, so backticks, quotes, !, and $ in the message cannot be
mangled by shell quoting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| reason | No | ||
| subject | Yes |