Reputation: 453
I need an access to Github GraphQL API in order to permanently make the following request each N hours:
query($ids: [ID!]!) {
rateLimit {
cost
remaining
resetAt
}
nodes(ids: $ids) {
... on Repository {
milestones(last: 100) {
nodes {
issues(last: 100) {
nodes {
closedAt
closed
}
}
state
dueOn
}
}
}
}
}
Upvotes: 6
Views: 2000
Reputation: 325
Probably you commit the token to your GitHub repo. if its the case Github will remove the token immediately. so you need to set your token as a variable environment in your system.
Upvotes: 17