Skip to content

feat: workflow_dispatch approach for GitLab #660

Open
@mavogel

Description

I was wondering if there is something planned to add the workflow_dispatch approach for GitLab, as it is with GitHub

->

_, _, err = g.Client.Repositories.Dispatch(ctx, g.Owner, g.Repo, opts)

During my research I found this issue: https://forum.gitlab.com/t/workflow-dispatch-approach-in-gitlab-ci/72426, which states triggering a pipeline with passed in environment variables (aka payload)

Update: or will the forwarder with a POST to trigger a pipeline / job via webhook do it:

err := postMessage(ctx, f.URL, f.ProxyURL, f.CertPool, event, func(req *retryablehttp.Request) {
?

Or does anyone have experience in implementing it? :)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions