#github-actions #ci #api-bindings #component #github #why #github-actions-models

github-actions-models

Unofficial, high-quality data models for GitHub Actions workflows, actions, and related components

46 releases (28 breaking)

Uses new Rust 2024

new 0.29.0 May 21, 2025
0.28.1 Apr 18, 2025
0.26.0 Feb 24, 2025
0.17.0 Dec 20, 2024
0.2.0 Feb 29, 2024

#134 in Testing

Download history 1497/week @ 2025-01-29 1373/week @ 2025-02-05 1124/week @ 2025-02-12 2402/week @ 2025-02-19 1652/week @ 2025-02-26 1414/week @ 2025-03-05 1499/week @ 2025-03-12 940/week @ 2025-03-19 1024/week @ 2025-03-26 1212/week @ 2025-04-02 908/week @ 2025-04-09 1810/week @ 2025-04-16 2507/week @ 2025-04-23 4180/week @ 2025-04-30 2392/week @ 2025-05-07 2550/week @ 2025-05-14

12,198 downloads per month
Used in zizmor

MIT license

66KB
1.5K SLoC

github-actions-models

CI Crates.io docs.rs GitHub Sponsors Discord

Unofficial, high-quality data models for GitHub Actions workflows, actions, and related components.

Why?

I need these for another tool, and generating them automatically from their JSON Schemas wasn't working both for expressiveness and tool deficiency reasons.

License

MIT License.

The integration tests for this crate contain sample workflows collected from various GitHub repositories; these contain comments linking them to their original repositories and are licensed under the terms there.

Dependencies

~1.8–2.6MB
~55K SLoC