Skip to content

Commit eeef6f5

Browse files
committed
feat(gitlab): add support for pipelines triggered through the api
1 parent 952ea09 commit eeef6f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/run/ci_provider/gitlab_ci/provider.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ impl TryFrom<&Config> for GitLabCIProvider {
8989
None,
9090
),
9191

92-
// For pipelines created by using a trigger token or created via the GitLab UI.
93-
"trigger" | "web" => (
92+
// For pipelines created with the api, using a trigger token or via the GitLab UI.
93+
"trigger" | "web" | "api" => (
9494
RunEvent::WorkflowDispatch,
9595
branch_or_tag_ref,
9696
Some(branch_name),

0 commit comments

Comments
 (0)