0.1.0 • Published 10 months ago
glab-toolkit v0.1.0
glab-toolkit
Gitlab toolkit CLI
Mostly code inspired by changesets-gitlab, kudos to the author!
Installation
pnpm i glab-toolkitEnvironment Variables
General:
GITLAB_TOKEN- Gitlab token (required)GITLAB_HOST- Gitlab host (required)
for glab-toolkit exec
INPUT_COMMAND- Command to execute (required)INPUT_BRANCH- Branch to execute the command on (required)INPUT_TITLE- Title of the merge request (required)INPUT_TARGET_BRANCH- Target branch of the merge request (defaultCI_REF_NAME)INPUT_REMOVE_SOURCE_BRANCH- Remove source branch after merge (defaultfalse)INPUT_LABELS- Comma separated list of labels to add to the merge request (default'')INPUT_COMMIT_MESSAGE- Commit message of the merge request (defaultchore: update)INPUT_DESCRIPTION- Description of the merge request (default'')INPUT_COMMIT_FILES- Comma separated list of files to commit (default-A .)
License
MIT