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 Commit successful
page you can create a PR without leaving Gearset.
By clicking the Create pull request...
link you get the following options:
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 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 a template.
See the version control provider's page to find more details about pull request templates.
GitHub's documentation
Azure DevOps documentation
GitLab's documentation
Draft pull request
If your Git provider is GitHub, GitHub Enterprise, Azure DevOps 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.
GitHub's documentation
Azure DevOp's documentation
GitLab's documentation
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.
Include Jira ticket(s) links
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
GitLab
GitLab (Self-managed)
AWS CodeCommit
Custom git connections are not supported.