YAML for GitLab CLI
Execute GitLab CLI commands with integration-based authentication.
YAML examples for GitLab CLI
Run GitLab CLI commands
yaml- action: "GitLab CLI" type: "GIT_LAB_CLI" shell: "SH" integration: "my_gitlab_integration" execute_commands: |- glab repo list glab mr list --state opened setup_commands: glab config set git_protocol https execute_every_command: true
Simple GitLab CLI command
yaml- action: "List MRs" type: "GIT_LAB_CLI" integration: "gitlab_integration" execute_commands: glab mr list