capabilities.work

Open a Pull Request and Request Reviewers

A 2-step recipe with GitHub. We can help you get access.

Recipe · 2 steps

Open a Pull Request and Request Reviewers

with GitHub · Software Construction Management

Open a pull request then request reviewers on it.

  1. Open a pull request from the head branch to the base branch.
  2. Request the supplied reviewers on the newly opened pull request using its returned number.
What you'll need to have ready
  • githubToken: A GitHub token with repo scope, passed as a Bearer credential.
  • owner: The account owner of the repository.
  • repo: The name of the repository.
  • head: The name of the branch where the changes are implemented.
  • base: The name of the branch to merge the changes into.
  • title: The title of the pull request.
  • body: The body of the pull request.
  • reviewers: The user handles to request as reviewers.
For your developer

Arazzo workflow github:open-pull-request-and-request-reviewers, 2 operations: pulls/create → pulls/request-reviewers. Specs on APIs.io.