diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c62950d84b..27103a991b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -195,7 +195,7 @@ PR titles must follow the [Conventional Commits](https://www.conventionalcommits type(scope)!: subject ``` -The allowed types are `build`, `ci`, `docs`, `feat`, `fix`, `perf`, `refactor`, `revert`, `style`, and `test`. The generic `chore` type is intentionally not accepted; pick a more descriptive type instead. +The allowed types are `build`, `chore`, `ci`, `docs`, `feat`, `fix`, `perf`, `refactor`, `revert`, `style`, and `test`. The generic `chore` type is intentionally not accepted; pick a more descriptive type instead. Examples: diff --git a/tools/lint-pr-title.js b/tools/lint-pr-title.js index 2df340f186..7caeb78085 100644 --- a/tools/lint-pr-title.js +++ b/tools/lint-pr-title.js @@ -1,7 +1,7 @@ #!/usr/bin/env node import {env, exit} from 'node:process'; -const allowedTypes = 'build, ci, docs, feat, fix, perf, refactor, revert, style, test'; +const allowedTypes = 'build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test'; const title = env.PR_TITLE; if (!title) {