CommitFiles
XSOAR CI/CD Pack.#
This Script is part of theSupported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
This script gets content files as input from the context, commits the files in the correct folder and creates the pull request text.
#
Script DataName | Description |
---|---|
Script Type | python3 |
Cortex XSOAR Version | 6.0.0 |
#
Used InThis script is used in the following playbooks and scripts.
- Pull Request Creation - Github
- Pull Request Creation - Bitbucket
#
InputsArgument Name | Description |
---|---|
files | The files to commit. |
branch | The branch name to commit. |
git_integration | Which version control integration to use. |
pack | The name of the pack. |
user | The current user details from the command "getUsers". |
comment | Short description to add to the pull request text. |
template | Pull request description template. |
#
OutputsPath | Description | Type |
---|---|---|
PR_text | The pull request text. | string |