Commit 8ce78ec
[luv-2] Query /pulls alongside /issues so folder numbers match next issue/PR (#19)
GitHub's /repos/{owner}/{repo}/issues endpoint is documented to include PRs
but returns [] for repos with no plain issues — luv only has PRs, so the
previous filter=all fix was a no-op (filter applies only to user-scoped
issues, not repo-scoped). Result: latest=0, candidate=1, while-loop bumped
past existing ~/prs/luv-1 to luv-2 instead of the expected luv-19.
Query /issues and /pulls separately and take the max. Bumps to 0.0.13.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent abde627 commit 8ce78ec
2 files changed
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
692 | 697 | | |
693 | 698 | | |
694 | 699 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments