Skip to main content

scan_push

Function scan_push 

Source
pub async fn scan_push(slug: &str, repo: &str, material: &[u8]) -> ScanOutcome
Expand description

Judge a container agent’s push with the host’s gh-agent scan-push --repo owner/repo. The material (JSON) goes in on stdin; the arguments are fixed, there is no shell, and the working directory is the temp folder, never anything of the container’s. gh-agent reads no repository and runs no git for this.