GitHub Issues Dump
What it does
- Reads
GITHUB_TOKENfrom a.envfile. - Fetches all issues from a repo (excluding pull requests).
- Writes two files into an output folder:
open.mdclosed.md
- Each issue includes: title, number, URL, author, created/updated, body, and all comments.
Usage
Run:
python .cursor/skills/github-issues-dump/scripts/export_issues.py --repo OWNER/REPO --out issues_dump
Optional:
--env .env--since 2025-01-01(ISO date)--include-labels(prints labels)--max-comments 0(0 = all, otherwise limit)
Required .env
Create .env with:
GITHUB_TOKEN=ghp_...