Support uploading media attachments to issues, PRs, and comments
Author: jogobenyCreated Sep 23, 2026Updated Sep 23, 2026
Hi,
GitHub CLI v2.99.0 added an --attach flag that uploads images/videos and embeds them in issue, PR, and comment bodies: https://github.blog/changelog/2026-09-01-github-cli-media-in-issues-pull-requests-and-comments/
It would be great if PyGithub exposed this.
Thanks.
Source: PyGithub/PyGithub