Skip to content
Edit this page View source of this page

Pull request template

GitHub uses .github/PULL_REQUEST_TEMPLATE.md from the default branch to fill the body of a new pull request. The template asks for a description, related issues, what changed, testing, a checklist, and additional notes. GitHub's pull request template documentation

Write the description

Replace the instructions and example bullets with specifics. Explain what reviewers should look at, link the relevant issue, and list the commands you actually ran and their results. Leave a short explanation for any important check you could not run or any risk a reviewer should consider. Open a pull request

Update the checklist for your repository

Keep the Markdown file on the default branch. Update the example environments and test paths after setting up your project, and keep checklist items that reflect what contributors can check.

The checkboxes record what the author says they did. GitHub's CI workflow and repository settings determine which checks are run and required for merging. If you want to enforce a title convention, configure a separate check for PR titles. A commit message hook validates commit messages.