#workflow-engine #local #github #workflow

wrkflw-gitlab

GitLab API integration for wrkflw workflow execution engine

3 unstable releases

0.7.3 Aug 28, 2025
0.7.0 Aug 13, 2025
0.6.0 Aug 9, 2025

#50 in #workflow-engine

27 downloads per month
Used in wrkflw

MIT license

28KB
416 lines

wrkflw-gitlab

GitLab integration helpers used by wrkflw to trigger pipelines.

  • Reads repo info from local git remote
  • Triggers pipelines via GitLab API

Example

use wrkflw_gitlab::{get_repo_info, trigger_pipeline};

# tokio_test::block_on(async {
let info = get_repo_info()?;
println!("{}/{} (default branch: {})", info.namespace, info.project, info.default_branch);

// Requires GITLAB_TOKEN in env (api scope)
trigger_pipeline(Some("main"), None).await?;
# Ok::<_, Box<dyn std::error::Error>>(())
# })?;

Notes: looks for .gitlab-ci.yml in the repo root when listing pipelines.

Dependencies

~8–24MB
~298K SLoC