extensions: [github] can't create issues based on repository
Extension
https://github.com/raycast/extensions/tree/main/extensions/github0b1/extensions/github/
Description
After doing the initial setup to run the extension, trying to Create Issue is showing an error: "Failed to fetch data".
Steps To Reproduce
- Install GitHub extension
- Setup it (create the right token, with the right permissions)
- Try to
Create Issue - Search for a repository from another org, like my case
- Wait some seconds while searching
- See the error message
Current Behaviour
Display an error message "Failed to fetch data".
Expected Behaviour
Should display the right searched repository to allow me to go for the rest of the form to create the issue.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18
Every time that I tried it, it fail. I tried some combinations of permissions on my token too, even putting all permissions together, didn’t work.
I am facing the same issue, I forked the extension to test it, and I found out that extension getting 100 repositories with the
useMyRepositoriesfunction. When I changed that number to 10 it works fine ( but it retrieves 10 repository). Basically main issue is timeout. I also run the graphql with the same query and get the similar error. Maybe a pagination can fix this problem or the shrinking the retrieved data might help.Yes, more than 200 repositories summing all orgs + my account.