Open a pull request

Learn how to open a pull request in a code pipeline.

Connect GitHub

If you haven't connected GitHub yet, you'll see a banner near the end of the Delivery step when creating your pipeline. Click Connect GitHub, and choose either Sign in with OAuth or Use a personal access token.

Connect GitHub

Authenticate with OAuth

  1. Select the account you would like to use with Supernova.
  2. You can now use this GitHub account to automate pull requests using pipelines.

See also Installing GitHub Apps in the GitHub docs.

Authenticate with PAT

PAT - GitHub
  1. Once you click Use a personal access token, a dialog will open.
  2. Enter a name for the token, an optional server URL, and paste in your personal access token.
  3. Click Save.
  4. You can now use this GitHub account to automate pull requests using pipelines.

Select delivery destination

  1. When creating a pipeline, select Open GitHub pull request as the delivery method.
  2. Choose where you would like to open the pull request. Choose the connection (OAuth or personal access token), an organization, project, repository, branch, and optionally a relative path.
GitHub connection

Configuration options

  • Connection: The authentication method you would like to use for this hook (OAuth or personal access token).
  • Organization: Your GitHub organization.
  • Repository: The GitHub repository you would like to use.
  • Branch: The branch where the pull request will be opened.
  • Relative path: Path relative to the repository root to which code will be exported.

We will open a new or append an existing pull request on a branch called supernova/[exporter-name]. Make sure there are no conflicting branch names before running the build.