- Replace fetch-based GitHub API calls with gh CLI in issues/fetch and issues/import routes - Update tests to mock gh CLI instead of fetch with proper error handling - Reduce code complexity by leveraging gh CLI's built-in JSON output - Add changeset documenting the refactoring work
6 lines
282 B
Markdown
6 lines
282 B
Markdown
---
|
|
"@dustinbyrne/kb": patch
|
|
---
|
|
|
|
Refactor GitHub issue import/fetch routes to use gh CLI instead of direct REST API calls. This ensures consistent authentication handling across all GitHub operations and removes the need for GITHUB_TOKEN environment variable for issue operations.
|