Commit c10356e
committed
fix: address Bugbot review findings
Fixes three issues identified in code review:
1. High Severity: Prevent script abort when no issues exist
- Use `|| echo "0"` fallback when grep -c returns non-zero
- Ensures script continues even with empty issue list
2. Medium Severity: Fetch all issues, not just first page
- Add `--limit 1000` to gh issue list command
- Prevents missing older issues beyond default pagination
3. Low Severity: Use exact title matching
- Change from `grep -qF` to `grep -qFx` for exact match
- Prevents false positives from substring matches
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent de9002a commit c10356e
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments