API changes for changing the base branch on Pull Requests

GitHub recently added the ability to change the base branch on a Pull Request after it's created. Now we're updating the Pull Request API to enable the new functionality.

For example:

curl "https://api.github.com/repos/github/hubot/pulls/123" \
  -H 'Authorization: token TOKEN' \
  -d '{ "base": "master" }'

The Pull Request base will be updated to point to the master branch.

You can learn more about the new responses and endpoints in the updated Pull Request documentation.

If you have any questions or feedback, please let us know!