Skip to main content

How do I create an automated pull request?

Objective: This article explains how to publish a branch for code review and have Hector automatically pick it up and create the pull request.

Prerequisites:

Steps:

  1. Append [review] to the end of your commit message.
    • git commit --amend
  2. Force push the branch.
    • git push --force

Example:

DE-1234 Add new feature [review]

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# ...

Additional Resources: