get_workflow

Function get_workflow 

Source
pub async fn get_workflow(
    github: &Octocrab,
    owner: &str,
    repo: &str,
    sha: &str,
    workflow: &str,
) -> (Vec<u8>, String)
Expand description

Either fetches workflow data from the repository (if ‘workflow’ is a relative path) or reads it from a file on the local filesystem with that name. Panics if something goes wrong.