Don't cover typing.TYPE_CHECKING
#310
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '12330076402',
status: 403,
response: {
url: 'https://api.github.com/repos/python-humanize/humanize/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: 'Sat, 14 Dec 2024 13:02:54 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': '1086:25FDAF:1703D01:2DCD871:675D81FD',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4980',
'x-ratelimit-reset': '1734183671',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '20',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/python-humanize/humanize/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/223/merge","name":"4.12.0","tag_name":"4.12.0","body":"## Added\\n\\n* Release to PyPI using Trusted Publishing (#213) @hugovk\\n\\n## Changed\\n\\n* Lint and test with tox-uv (#212) @hugovk\\n\\n## Fixed\\n\\n* Fix overflow issue in naturalsize with np.int32 input (#218) @Toprak2\\n* Fix pt_BR locale (#216) @cuducos\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '12330076402',
name: 'pull_request',
payload: {
action: 'opened',
number: 223,
organization: {
avatar_url: 'https://private-avatars.githubusercontent.com/u/62149795?jwt=***',
description: null,
events_url: 'https://api.github.com/orgs/python-humanize/events',
hooks_url: 'https://api.github.com/orgs/python-humanize/hooks',
id: 62149795,
issues_url: 'https://api.github.com/orgs/python-humanize/issues',
login: 'python-humanize',
members_url: 'https://api.github.com/orgs/python-humanize/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYyMTQ5Nzk1',
public_members_url: 'https://api.github.com/orgs/python-humanize/public_members{/member}',
repos_url: 'https://api.github.com/orgs/python-humanize/repos',
url: 'https://api.github.com/orgs/python-humanize'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/223/comments'
},
commits: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/223/commits'
},
html: {
href: 'https://github.com/python-humanize/humanize/pull/223'
},
issue: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/223'
},
revi
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12330076402',
name: 'pull_request',
payload: {
action: 'opened',
number: 223,
organization: {
avatar_url: 'https://private-avatars.githubusercontent.com/u/62149795?jwt=***',
description: null,
events_url: 'https://api.github.com/orgs/python-humanize/events',
hooks_url: 'https://api.github.com/orgs/python-humanize/hooks',
id: 62149795,
issues_url: 'https://api.github.com/orgs/python-humanize/issues',
login: 'python-humanize',
members_url: 'https://api.github.com/orgs/python-humanize/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYyMTQ5Nzk1',
public_members_url: 'https://api.github.com/orgs/python-humanize/public_members{/member}',
repos_url: 'https://api.github.com/orgs/python-humanize/repos',
url: 'https://api.github.com/orgs/python-humanize'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/223/comments'
},
commits: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/223/commits'
},
html: {
href: 'https://github.com/python-humanize/humanize/pull/223'
},
issue: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/223'
},
review_comment: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/223/comments'
},
self: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/223'
},
statuses: {
href: 'https://api.github.com/repos/python-humanize/humanize/statuses/88b904e28854f3294142aba61bb9a0ce6210686f'
}
},
active_lock_reason: null,
additions: 18,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'python-humanize:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/python-humanize/humanize/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/python-humanize/humanize/assignees{/user}',
blobs_url: 'https://api.github.com/repos/python-humanize/humanize/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/python-humanize/humanize/branches{/branch}',
clone_url: 'https://github.com/python-humanize/humanize.git',
collaborators_url: 'https://api.github.com/repos/python-humanize/humanize/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/python-humanize/humanize/comments{/number}',
commits_url: 'https://api.github.com/repos/python-humanize/humanize/commits{/sha}',
compare_url: 'https://api.github.com/repos/python-humanize/humanize/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/python-humanize/humanize/contents/{+path}',
contributors_url: 'https://api.github.com/repos/python-humanize/humanize/contributors',
created_at: '2022-03-06T08:50:33Z',
default_branch: 'main',
delete_branch_on_merge: tru
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|