diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1954a8ddc..88bae1e62 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,6 +3,7 @@ ## Checklist +- [ ] I searched the existing issues and pull requests on this topic and linked them above (see "Before Opening a Pull Request" in `CONTRIBUTING.rst`). - [ ] I've added this contribution to the `changelog.rst`. - [ ] I've added my name to the `AUTHORS` file (or it's already there). diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 64468a935..1a3e2848d 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -2,6 +2,19 @@ Development Guide ----------------- This is a guide for developers who would like to contribute to this project. +Before Opening a Pull Request +----------------------------- + +Reviews are done by volunteers in their spare time. Please check first: + +* Search the open and closed issues and pull requests for the same topic. +* If there is none, open an issue. +* If there is an issue but no pull request, say on the issue that you are + working on a fix, and link your pull request there when you open it. +* If there is a pull request already, comment on it instead of opening a new + one. If you still think a separate one is better, open it and link the + existing one, saying how they differ. + GitHub Workflow --------------- diff --git a/changelog.rst b/changelog.rst index fc362092b..a1ade6bc2 100644 --- a/changelog.rst +++ b/changelog.rst @@ -19,6 +19,8 @@ Bug fixes: Internal: --------- +* Add a "Before Opening a Pull Request" section to the development guide, + and a matching item to the pull request checklist. * Require ``cli_helpers >= 2.15.2``. That release aligns vertical (expanded) output by display width, so a header of wide characters like ``配列`` lines up; ``test_format_array_output_expanded`` had the old misalignment written