diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d0984a7aa..4d6b88e89 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,14 +1,3 @@ -### CATEGORY - -Choose one - -- [ ] Bug Fix -- [ ] Enhancement (new features, refinement) -- [ ] Refactor -- [ ] Add tests -- [ ] Build / Development Environment -- [ ] Documentation - ### SUMMARY @@ -27,5 +16,3 @@ Choose one - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API - -### REVIEWERS diff --git a/.github/prlint.json b/.github/prlint.json new file mode 100644 index 000000000..0b17c3894 --- /dev/null +++ b/.github/prlint.json @@ -0,0 +1,8 @@ +{ + "title": [ + { + "pattern": "^(build|ci|docs|feat|fix|perf|refactor|style|test|other)((.+))?:\\s.+", + "message": "Your title needs to be prefixed with a topic." + } + ] +}