#github-api #workflow #local

wrkflw-github

GitHub 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

#43 in #github-api

Download history 90/week @ 2025-10-05 82/week @ 2025-10-12 62/week @ 2025-10-19 26/week @ 2025-10-26 48/week @ 2025-11-02 44/week @ 2025-11-09 56/week @ 2025-11-16 72/week @ 2025-11-23 105/week @ 2025-11-30 97/week @ 2025-12-07 22/week @ 2025-12-14 7/week @ 2025-12-21 3/week @ 2025-12-28 24/week @ 2026-01-04 36/week @ 2026-01-11 116/week @ 2026-01-18

179 downloads per month
Used in 2 crates

MIT license

28KB
464 lines

wrkflw-github

GitHub integration helpers used by wrkflw to list/trigger workflows.

  • List workflows in .github/workflows
  • Trigger workflow_dispatch events over the GitHub API

Example

use wrkflw_github::{get_repo_info, trigger_workflow};

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

// Requires GITHUB_TOKEN in env
trigger_workflow("ci", Some("main"), None).await?;
# Ok::<_, Box<dyn std::error::Error>>(())
# })?;

Notes: set GITHUB_TOKEN with the workflow scope; only public repos are supported out-of-the-box.

Dependencies

~8–26MB
~315K SLoC