get_github_sha

Function get_github_sha 

Source
pub fn get_github_sha() -> Result<String, VarError>
Expand description

Get the commit to operate on from the GITHUB_SHA env var. When running in Github Actions, this will be set to the SHA of the commit that triggered the workflow.

See Github Actions’ Variables documentation for details.