Skip to main content

SuggestBranchName

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

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

The script gets the pack name as input and suggests an available branch name, for example: pack name is "MyPack" the branch name will be "MyPack". If the branch with the name "MyPack" exists, the script return "MyPack_1".

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.0.0

Used In#


This script is used in the following playbooks and scripts. Pull Request Creation - Generic

Inputs#


Argument NameDescription
packThe name of the pack.

Outputs#


PathDescriptionType
AvailableBranchAvailable branch name based on the pack name.string