github_download_artifact
Download and read the contents of a GitHub Actions artifact. Prefer the exact owner from github_list_repositories; 'repo' also accepts the combined 'owner/name' form. Downloads the artifact zip, extracts it, and returns the contents of text/JSON files inside. Use this to read Trivy vulnerability scan results (from 'ankra-security-scan' artifacts), test reports, or other CI/CD outputs. Get the artifact_id from github_list_artifacts first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. Also accepts the combined 'owner/name' form. | |
| owner | No | Repository owner (e.g. 'octocat'). Prefer the exact owner from a prior github_list_repositories call. May be omitted when the repository name is unambiguous in this organisation, or embedded in 'repo' as 'owner/name'. | |
| artifact_id | Yes | The artifact ID. Get this from github_list_artifacts. |