Replace Flake8 with Ruff #181
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '6945604806',
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: 'Tue, 21 Nov 2023 14:59:52 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': 'A01E:42E1:1C74017:3AF95ED:655CC5E8',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '969',
'x-ratelimit-reset': '1700581324',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '31',
'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/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/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/157/merge","name":"4.9.0","tag_name":"4.9.0","body":"## Added\\n\\n* Add support for Python 3.13 (#156) @hugovk\\n* Add Norwegian localization (#155) @fdanielsen\\n* Add Hebrew localization (#149) @clsn\\n* Add Klingon translation (#150) @clsn\\n\\n## Fixed\\n\\n* Fix DeprecationWarning: Plural value must be an integer, got float (#147) @dansarpong\\n* Remove useless shebangs (#141) @aueam\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '6945604806',
name: 'pull_request',
payload: {
action: 'opened',
number: 157,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/62149795?v=4',
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/157/comments'
},
commits: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/157/commits'
},
html: {
href: 'https://github.com/python-humanize/humanize/pull/157'
},
issue: {
href: 'https://api.github.com/repos/python-humanize/humanize/iss
|
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: '6945604806',
name: 'pull_request',
payload: {
action: 'opened',
number: 157,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/62149795?v=4',
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/157/comments'
},
commits: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/157/commits'
},
html: {
href: 'https://github.com/python-humanize/humanize/pull/157'
},
issue: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/157'
},
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/157/comments'
},
self: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/157'
},
statuses: {
href: 'https://api.github.com/repos/python-humanize/humanize/statuses/19e32f4763ad3901085bee7dfe6be41b7ecfac28'
}
},
active_lock_reason: null,
additions: 93,
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: true,
deploy
|