fix: 等待 2 分钟后再触发 registry_update #243
release-draft.yml
on: pull_request
Update Release Draft
5s
Annotations
2 errors and 1 warning
Update Release Draft
Resource not accessible by integration
{
name: 'HttpError',
id: '7697392056',
status: 403,
response: {
url: 'https://api.github.com/repos/nonebot/noneflow/releases',
status: 403,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 29 Jan 2024 14:12:28 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '3C06:13E2:1D92AD0:1EE174F:65B7B24C',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '975',
'x-ratelimit-reset': '1706537804',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '25',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/nonebot/noneflow/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/197/merge","name":"v3.2.1","tag_name":"v3.2.1","body":"## 💫 杂项\\n\\n- chore: auto update by pre-commit hooks @pre-commit-ci (#196)","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '7697392056',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '1cc3537fdb528f8aee6f9276eec8ab95d05311bc',
before: '0a9552f7bf1050948f3be919cbbaa84bf94eea16',
number: 197,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/63496654?v=4',
description: '跨平台的 Python 异步聊天机器人开发框架',
events_url: 'https://api.github.com/orgs/nonebot/events',
hooks_url: 'https://api.github.com/orgs/nonebot/hooks',
id: 63496654,
issues_url: 'https://api.github.com/orgs/nonebot/issues',
login: 'nonebot',
members_url: 'https://api.github.com/orgs/nonebot/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYzNDk2NjU0',
public_members_url: 'https://api.github.com/orgs/nonebot/public_members{/member}',
repos_url: 'https://api.github.com/orgs/nonebot/repos',
url: 'https://api.github.com/orgs/nonebot'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/nonebot/noneflow/issues/197/comments'
},
commits: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/197/commits'
},
html: { href: 'https://github.com/nonebot/noneflow/pull/197' },
issue: {
href: 'https://api.github.com/repos/nonebot/noneflow/issues/197'
},
review_comment: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/197/
|
Update Release Draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '7697392056',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '1cc3537fdb528f8aee6f9276eec8ab95d05311bc',
before: '0a9552f7bf1050948f3be919cbbaa84bf94eea16',
number: 197,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/63496654?v=4',
description: '跨平台的 Python 异步聊天机器人开发框架',
events_url: 'https://api.github.com/orgs/nonebot/events',
hooks_url: 'https://api.github.com/orgs/nonebot/hooks',
id: 63496654,
issues_url: 'https://api.github.com/orgs/nonebot/issues',
login: 'nonebot',
members_url: 'https://api.github.com/orgs/nonebot/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYzNDk2NjU0',
public_members_url: 'https://api.github.com/orgs/nonebot/public_members{/member}',
repos_url: 'https://api.github.com/orgs/nonebot/repos',
url: 'https://api.github.com/orgs/nonebot'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/nonebot/noneflow/issues/197/comments'
},
commits: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/197/commits'
},
html: { href: 'https://github.com/nonebot/noneflow/pull/197' },
issue: {
href: 'https://api.github.com/repos/nonebot/noneflow/issues/197'
},
review_comment: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/197/comments'
},
self: {
href: 'https://api.github.com/repos/nonebot/noneflow/pulls/197'
},
statuses: {
href: 'https://api.github.com/repos/nonebot/noneflow/statuses/1cc3537fdb528f8aee6f9276eec8ab95d05311bc'
}
},
active_lock_reason: null,
additions: 32,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: {
commit_message: '* Update def handle_pr_close\r\n' +
'\r\n' +
'先处理pr再触发registry更新\r\n' +
'\r\n' +
'* fix: 等待一分钟再触发\r\n' +
'\r\n' +
'* fix: 正确的 mock 函数\r\n' +
'\r\n' +
'* fix: 要不等两分钟吧\r\n' +
'\r\n' +
'---------\r\n' +
'\r\n' +
'Co-authored-by: uy_sun <[email protected]>',
commit_title: 'fix: registry update 报错 KeyError (#197)',
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/5219550?v=4',
events_url: 'https://api.github.com/users/he0119/events{/privacy}',
followers_url: 'https://api.github.com/users/he0119/followers',
following_url: 'https://api.github.com/users/he0119/following{/other_user}',
gists_url: 'https://api.github.com/users/he0119/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/he0119',
id: 5219550,
login: 'he0119',
node_id: 'MDQ6VXNlcjUyMTk1NTA=',
organizations_url: 'https://api.github.com/users/he0119/orgs',
received_events_url: 'https://api.github.com/users/he0119/received_events',
repos_url: 'https://api.github.com/users/he0119/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/he0119/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/he0119/subscriptions',
type: 'User',
url: 'https://api.github.com/users/h
|
Update Release Draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|