{"repo":"MorrisonCole/pr-lint-action","free":true,"listed":false,"github":"https://github.com/MorrisonCole/pr-lint-action","clone":"git clone https://github.com/MorrisonCole/pr-lint-action.git","description":":octocat: A fast 🔥 TypeScript GitHub Action to ensure that your PR title matches a given regex.","language":"JavaScript","stars":72,"topics":["github-actions","linter","typescript","workflow","review","bot"],"license":"MIT","category":"dev-tools","readme_excerpt":"Pull Request Linter :octocat: A fast 🔥 TypeScript GitHub Action to ensure that your PR title matches a given regex. Supports the following feedback mechanisms 🛠: - 🤖 Review, request/dismiss changes, and comment with bot - ❌ Fail action Usage Create a workflow definition at .github/workflows/ .yml with something like the following contents: Options Option Required? Type Default Value Description ------------------------------------------- --------- ------ ---------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------- repo-token yes string N/A About the GITHUB TOKEN secret. title-regex yes string \".\\ \" A JavaScript regex to test the title of each Pull Request against. Allows anything by default. on-failed-regex-fail-action no bool false If the regex fails, sets the action status to failed. When the action exits it will be with an exit code of 1. on-failed-regex-create-review no bool true If the regex fails, uses the GitHub review mechanism to submit a review. The review type is determined by on-failed-regex-request-changes . on-failed-regex-request-changes no bool true Uses 'Request Changes' when creating a review. Otherwise, uses 'Comment'. Note: if on-failed-regex-create-review is false , this won't do anything. on-failed-regex-comment no string \"PR title failed to match %regex%\" Comment for the bot to post on PRs that fail the regex (or the con","default_branch":null,"files":null,"tree":[],"storefront":"/r/MorrisonCole","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MorrisonCole/pr-lint-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}