github-image-upload
Attach proof on GitHub
Use --attach on gh pr create, edit, or comment, or the corresponding
gh issue command. Publication must be authorized by the task. Inline text
evidence in a language-tagged fence; --attach accepts images and videos.
Check gh --version and authentication if they are not already established.
If the installed CLI lacks --attach, continue preparing the proof and report
the version needed. A request to upload proof does not authorize upgrading the CLI.
Attach to the intended destination
Identify the repository, PR or issue, and whether the destination is its body or a particular comment. Preserve existing content. Do not commit proof files.
Write a multiline body to a file and pass --body-file. An image reference
whose destination matches the attachment path is replaced with the uploaded URL: