Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Crate gha_github_service_proof

Crate gha_github_service_proof 

Source
Expand description

GitHub Actions service/API compatibility checks for offline CI systems.

gha-github-service-proof is the receipt-backed compatibility oracle for the GitHub side-effect surface that ci-forge and other offline runners need to model: REST endpoints, GITHUB_TOKEN permissions, gh CLI invocations, curl-based API requests, well-known action releases such as softprops/action-gh-release, OIDC token issuance, and the /graphql boundary.

The library does not call GitHub. It classifies every requested call as exact, simulated, or unsupported, validates that the workflow’s resolved permissions cover each call, and emits text/JSON/Markdown receipts that downstream runners can attach to job provenance.

Re-exports§

pub use engine::CallOptions;
pub use engine::CheckWorkflowOptions;
pub use engine::GhLogOptions;
pub use engine::OidcOptions;
pub use engine::PermissionsOptions;
pub use engine::check_workflows;
pub use engine::classify_call;
pub use engine::issue_oidc;
pub use engine::permissions_command;
pub use engine::replay_gh_log;
pub use model::Check;
pub use model::CheckStatus;
pub use model::Compatibility;
pub use model::GithubServiceReceipt;
pub use model::OutputFormat;
pub use model::PermissionKey;
pub use model::PermissionLevel;
pub use model::PermissionScope;
pub use model::PermissionSet;
pub use model::RequiredPermission;
pub use model::ToolInfo;
pub use render::render_receipt;

Modules§

call
catalog
engine
gh_log
model
oidc
permissions
render
workflow

Constants§

TOOL_NAME
TOOL_VERSION