All Collections
Feature guides
Version control
Create pull requests from deployment summary
Create pull requests from deployment summary
Valerio Chang avatar
Written by Valerio Chang
Updated over a week ago

After a deployment to a git target, Gearset supports the ability to create a Pull Request (PR) in your git repository from within the Gearset application.

From the Deployment successful page you can create a PR without leaving Gearset.

By clicking the Create pull request... link you get the following options

create pull request dialog

Pull request name

This will become the title of your PR, so make sure to name it something meaningful for your team!

Select target branch

This is the branch to merge into.

Pull request description

If your git provider is GitHub, GitHub Enterprise, Azure DevOps Git, GitLab, Bitbucket or Bitbucket Server you can enter a description for the PR.

Pull request templates

Pull request templates are a way for teams to standardize the structure and formatting of their pull requests. You can select a pull request template from your GitHub, Azure DevOps Git and GitLab repositories.

You can choose to import the contents of a pull request template file from your repository into Gearset's PR creation dialog. You can do this by clicking the Add a template dropdown and selecting one template.

Choosing a pull request template

See the version control provider's page to find more details about pull request templates.

Draft pull request

If your git provider is GitHub, GitHub Enterprise, Azure DevOps Git or GitLab you can create a draft PR instead of a standard PR. See the version control provider's page for more details about draft pull requests.

Skip CI validations 

When selected, this will prevent any 'validate pull request' child jobs (see blog for more info on this feature) from running for that particular PR.

You may want to skip them if the validations take a while to run. By selecting this setting, you don't have to wait for the validations to complete, which therefore may speed up the PR merge process.

Special tip: you can also create any PR with the words [NoValidation] (with the square brackets included) in the PR name and it will have the same impact, regardless of how you create it.

Include items deployed

When selected, this will list the items deployed in the PR in source control.

When selected, Gearset will create links to the Jira tickets in the PR comment.

Which git providers are supported?

  • GitHub

  • GitHub Enterprise

  • Bitbucket

  • Bitbucket Server

  • Azure DevOps Git

  • GitLab

  • GitLab (Self-managed)

  • AWS CodeCommit

Custom git connections are not supported.

Did this answer your question?