verify_github_attestation

Function verify_github_attestation 

Source
pub async fn verify_github_attestation(
    artifact_path: &Path,
    owner: &str,
    repo: &str,
    token: Option<&str>,
    signer_workflow: Option<&str>,
) -> Result<bool>
Expand description

Verify a GitHub artifact attestation

ยงArguments

  • artifact_path - Path to the artifact file to verify
  • owner - GitHub organization or user that owns the repository
  • repo - Repository name (without owner)
  • token - Optional GitHub token for API authentication
  • signer_workflow - Optional workflow path to verify against