Skip to main content

check_verdict

Function check_verdict 

Source
pub fn check_verdict(
    token: &str,
    repo: &str,
    sha: &str,
) -> Result<Verdict, String>
Expand description

Fetches the CI verdict for sha (needs App permission Checks: read; GitHub Actions reports through the Checks API).

§Errors

API failures with GitHub’s response body included.