[英]GitHub API: Personal access token removes itself
I need an access to Github GraphQL API in order to permanently make the following request each N hours:我需要访问 Github GraphQL API,以便每 N 小时永久发出以下请求:
query($ids: [ID!]!) {
rateLimit {
cost
remaining
resetAt
}
nodes(ids: $ids) {
... on Repository {
milestones(last: 100) {
nodes {
issues(last: 100) {
nodes {
closedAt
closed
}
}
state
dueOn
}
}
}
}
}
Probably you commit the token to your GitHub repo.可能您将令牌提交到您的 GitHub 存储库。 if its the case Github will remove the token immediately.如果是这种情况,Github 将立即删除令牌。 so you need to set your token as a variable environment in your system.因此您需要将您的令牌设置为系统中的可变环境。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.