Uploading images to GitHub PRs from the CLI

GitHub has no public API for uploading images to PR descriptions. The drag-and-drop in the web UI uses an undocumented endpoint ( /upload/policies/assets ) that requires browser session cookies &ndash; you simply can not call it with an API token or gh . The GitHub CLI team explicitly closed this as &ldquo;not planned&rdquo;, with the explanation that the upload flow requires a browser to obtain…