Skip to content

Reduce the size of a pull request

Pull requests with changes that affect more than 1000 lines of code require a scheduled review. It is possible to bypass the requirement for a scheduled review (or speed up a manual review) by breaking a larger pull request into multiple, smaller pull requests.

A suggested workflow for creating smaller pull requests:

  1. Check out a new branch off of the main production branch.
  2. Check out one of the changes from the branch used in the large pull request.
  3. Push this change to the new branch.
  4. Commit and push up the new branch.
  5. Create a new pull request from this branch targeting the main production branch.
  6. Continue to do this until all of the changes found in the original large pull request are now included in the smaller pull requests.

Last updated: October 30, 2022