diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 5e70f37dd2..e57977bf94 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -17,6 +17,7 @@ Issue Number: DEV- - [ ] perf: performance improvements - [ ] refactor: represents production code refactoring - [ ] test: adding or refactoring tests (no production code change) +- [ ] deprecated: Deprecation warning (ideally referencing a migration guide) ### Basic requirements for bug fixes and features diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml index 5bd63ae016..798fa27ce0 100644 --- a/.github/workflows/check-pr-title.yml +++ b/.github/workflows/check-pr-title.yml @@ -11,5 +11,5 @@ jobs: steps: - uses: deepakputhraya/action-pr-title@master with: - regex: '^(build|chore|docs|feat|fix|perf|refactor|test)(\(.+\))?!?: [A-Z].+$' + regex: '^(build|chore|docs|feat|fix|perf|refactor|test|deprecated)(\(.+\))?!?: [A-Z].+$' max_length: 140 diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 230b764379..d1ffac9239 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -28,5 +28,6 @@ jobs: {"type": "fix", "section": "Bug Fixes", "hidden": false }, {"type": "perf", "section": "Enhancements", "hidden": false }, {"type": "refactor", "section": "Maintenance", "hidden": false }, - {"type": "test", "section": "Maintenance", "hidden": false } + {"type": "test", "section": "Maintenance", "hidden": false }, + {"type": "deprecated", "section": "Deprecated", "hidden": false } ]'