Skip to main content

Pull Request Creation - GitLab

This Playbook is part of the XSOAR CI/CD Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

This playbook creates a pull request using Bitbucket integration.

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

This playbook does not use any sub-playbooks.

Integrations#

  • GitLab

Scripts#

  • SuggestBranchName
  • CommitFiles
  • Set
  • DeleteContext

Commands#

  • gitlab-merge-request-list
  • gitlab-branch-list
  • gitlab-merge-request-update
  • gitlab-branch-create
  • gitlab-merge-request-create

Playbook Inputs#


NameDescriptionDefault ValueRequired
PullRequestTemplatePull request description template.Required
MainBranchThe name of the branch you want the changes pulled into, which must be an existing branch on the current repository.Required
PackNameThe name of the packRequired
FileThe File or Files to commit to the new or updated branch or prRequired

Playbook Outputs#


There are no outputs for this playbook.