Skip to main content

verify_tag_source

Function verify_tag_source 

Source
pub async fn verify_tag_source(
    transport: &impl GithubApi,
    owner: &str,
    repo: &str,
    tag: &str,
    source_revision: &str,
) -> Result<(), GithubError>
Expand description

Verify an exact tag resolves to the payload source revision.

Lightweight tags must point directly at the revision. Annotated tags are peeled with a bounded loop and must terminate at a commit with the exact revision. No tag write endpoint exists.