Fix DeprecationWarning: Plural value must be an integer, got float #173
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '6572489902',
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: 'Thu, 19 Oct 2023 10:07:50 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',
'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': '6C06:65E1:855501:11100FE:6530FFF6',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '994',
'x-ratelimit-reset': '1697713668',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/147/merge","name":"4.9.0","tag_name":"4.9.0","body":"## Added\\n\\n* Add Hebrew localization (#149) @clsn\\n* Add Klingon translation (#150) @clsn\\n\\n## Fixed\\n\\n* Remove useless shebangs (#141) @aueam\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '6572489902',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'fe227a6bd97fc1b3d21f45b34267bdaf045828eb',
before: '5cfb80e98ca5d4ccb0366ec3950766d3dbfe251e',
number: 147,
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/147/comments'
},
commits: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/147/commits'
},
html: {
href: 'https://github.com/python-humanize/humanize/pull/147'
},
issue: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/147'
},
review_comment: {
href: 'https://api.github.com/repos/pyt
|
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: '6572489902',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'fe227a6bd97fc1b3d21f45b34267bdaf045828eb',
before: '5cfb80e98ca5d4ccb0366ec3950766d3dbfe251e',
number: 147,
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/147/comments'
},
commits: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/147/commits'
},
html: {
href: 'https://github.com/python-humanize/humanize/pull/147'
},
issue: {
href: 'https://api.github.com/repos/python-humanize/humanize/issues/147'
},
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/147/comments'
},
self: {
href: 'https://api.github.com/repos/python-humanize/humanize/pulls/147'
},
statuses: {
href: 'https://api.github.com/repos/python-humanize/humanize/statuses/fe227a6bd97fc1b3d21f45b34267bdaf045828eb'
}
},
active_lock_reason: null,
additions: 2,
assignee: null,
assignees: [],
author_association: 'NONE',
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: '20
|