refactor: migrate to github gql api

This commit is contained in:
2026-05-08 02:23:28 +08:00
parent 7de0039d38
commit 19769a7b75
11 changed files with 177422 additions and 228 deletions

View File

@@ -0,0 +1,28 @@
query PullRequestQuery($query: String!) {
search(query: $query, first: 10, type: ISSUE) {
issueCount
edges {
node {
__typename
... on PullRequest {
isDraft
title
state
repository {
name
owner {
__typename
login
}
}
}
}
cursor
}
pageInfo {
startCursor
endCursor
hasNextPage
}
}
}