This action requires a token for the user on whose behalf it will run.

StartGitlabPipeline — starts a pipeline in GitLab.

Request example

project_id: 0
ref: main
variables:
  - key: example-key
    value: example-value

Request specification

NameRequiredDescription
project_idYesIdentifier of the project in which to run the pipeline
refYesName of the branch or tag, or the commit SHA, on which the pipeline will run
variablesNoList of variables to pass to the pipeline being run
variables.keyYesVariable name
variables.valueYesVariable value

Note

The action performs a POST request to the URL: /api/v4/projects/:id/pipeline.