.nh .TH "glab" "1" "May 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-ci-run-trig - Run a CI/CD pipeline trigger. .SH SYNOPSIS \fBglab ci run-trig [flags]\fP .SH DESCRIPTION Specify one or more pipeline inputs using the \fB-i\fR or \fB--input\fR flag for each input. Each input flag uses the format \fBkey:value\fR\&. .PP The values are typed and will default to \fBstring\fR unless a type is explicitly specified. To specify a type, use the \fBtype(value)\fR syntax. For example, \fBkey:string(value)\fR will pass the string \fBvalue\fR as the input. .PP Valid types are: .IP \(bu 2 \fBstring\fR: A string value. This is the default type. For example, \fBkey:string(value)\fR\&. .IP \(bu 2 \fBint\fR: An integer value. For example, \fBkey:int(42)\fR\&. .IP \(bu 2 \fBfloat\fR: A floating-point value. For example, \fBkey:float(3.14)\fR\&. .IP \(bu 2 \fBbool\fR: A boolean value. For example, \fBkey:bool(true)\fR\&. .IP \(bu 2 \fBarray\fR: An array of strings. For example, \fBkey:array(foo,bar)\fR\&. .PP An array of strings can be specified with a trailing comma. For example, \fBkey:array(foo,bar,)\fR will pass the array \fB[foo, bar]\fR\&. \fBarray()\fR specifies an empty array. To pass an array with the empty string, use \fBarray(,)\fR\&. .PP Value arguments containing parentheses should be escaped from the shell with quotes. For example, \fB--input key:array(foo,bar)\fR should be written as \fB--input 'key:array(foo,bar)'\fR\&. .SH OPTIONS \fB-b\fP, \fB--branch\fP="" Create pipeline on branch or reference \&. .PP \fB-i\fP, \fB--input\fP=[] Pass inputs to pipeline in format ':\&'. Cannot be used for merge request pipelines. See documentation for examples. .PP \fB-t\fP, \fB--token\fP="" Pipeline trigger token. Can be omitted only if the \fBCI_JOB_TOKEN\fR environment variable is set. .PP \fB--variables\fP=[] Pass variables to pipeline in the format :\&. Multiple variables can be comma-separated or specified by repeating the flag. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX glab ci run-trig -t xxxx glab ci run-trig -t xxxx -b main # Specify CI variables glab ci run-trig -t xxxx -b main --variables key1:val1 glab ci run-trig -t xxxx -b main --variables key1:val1,key2:val2 glab ci run-trig -t xxxx -b main --variables key1:val1 --variables key2:val2 # Specify CI inputs glab ci run-trig -t xxxx -b main --input key1:val1 --input key2:val2 glab ci run-trig -t xxxx -b main --input "replicas:int(3)" --input "debug:bool(false)" --input "regions:array(us-east,eu-west)" .EE .SH SEE ALSO \fBglab-ci(1)\fP