Skip to main content

mirror_check

Function mirror_check 

Source
pub fn mirror_check(repo_path: &Path) -> Result<()>
Expand description

Preflight the GitHub token against a repo’s mirror config: read the committed .git-ark.yml github block, check the token’s auth/scopes and its access to the target repo, and print a report — catching a token lacking org access or the workflow scope before a real push does.