Skip to main content

post_status

Function post_status 

Source
pub fn post_status(
    token: &str,
    repo: &str,
    sha: &str,
    context: &str,
    state: &str,
    description: &str,
) -> Result<(), String>
Expand description

Posts a commit status (state: success/failure/error/pending) on owner/repo@sha under context.

§Errors

API failures with GitHub’s response body included.