- 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
282 B
282 B
@dustinbyrne/kb
| @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.