optimize: pre alloc slice #98
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v5
Resource not accessible by integration
{
name: 'HttpError',
id: '8035086723',
status: 403,
response: {
url: 'https://api.github.com/repos/gosimple/slug/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: 'Sun, 25 Feb 2024 03:00:33 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': 'D448:1A56:851E1D:10BF5CA:65DAAD51',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '993',
'x-ratelimit-reset': '1708833631',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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/gosimple/slug/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/87/merge","name":"v1.14.1","tag_name":"v1.14.1","body":"<!-- Optional: add a release summary here -->\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: { retryCount: 1 }
},
event: {
id: '8035086723',
name: 'pull_request',
payload: {
action: 'opened',
number: 87,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/7112375?v=4',
description: '',
events_url: 'https://api.github.com/orgs/gosimple/events',
hooks_url: 'https://api.github.com/orgs/gosimple/hooks',
id: 7112375,
issues_url: 'https://api.github.com/orgs/gosimple/issues',
login: 'gosimple',
members_url: 'https://api.github.com/orgs/gosimple/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjcxMTIzNzU=',
public_members_url: 'https://api.github.com/orgs/gosimple/public_members{/member}',
repos_url: 'https://api.github.com/orgs/gosimple/repos',
url: 'https://api.github.com/orgs/gosimple'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/gosimple/slug/issues/87/comments'
},
commits: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/87/commits'
},
html: { href: 'https://github.com/gosimple/slug/pull/87' },
issue: {
href: 'https://api.github.com/repos/gosimple/slug/issues/87'
},
review_comment: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/87/comments'
},
self: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/87'
},
statuses: {
href:
|
Run release-drafter/release-drafter@v5
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: '8035086723',
name: 'pull_request',
payload: {
action: 'opened',
number: 87,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/7112375?v=4',
description: '',
events_url: 'https://api.github.com/orgs/gosimple/events',
hooks_url: 'https://api.github.com/orgs/gosimple/hooks',
id: 7112375,
issues_url: 'https://api.github.com/orgs/gosimple/issues',
login: 'gosimple',
members_url: 'https://api.github.com/orgs/gosimple/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjcxMTIzNzU=',
public_members_url: 'https://api.github.com/orgs/gosimple/public_members{/member}',
repos_url: 'https://api.github.com/orgs/gosimple/repos',
url: 'https://api.github.com/orgs/gosimple'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/gosimple/slug/issues/87/comments'
},
commits: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/87/commits'
},
html: { href: 'https://github.com/gosimple/slug/pull/87' },
issue: {
href: 'https://api.github.com/repos/gosimple/slug/issues/87'
},
review_comment: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/87/comments'
},
self: {
href: 'https://api.github.com/repos/gosimple/slug/pulls/87'
},
statuses: {
href: 'https://api.github.com/repos/gosimple/slug/statuses/039dc506b8b7e1e9933b21f287461a96a8b172d0'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'gosimple:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/gosimple/slug/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/gosimple/slug/assignees{/user}',
blobs_url: 'https://api.github.com/repos/gosimple/slug/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/gosimple/slug/branches{/branch}',
clone_url: 'https://github.com/gosimple/slug.git',
collaborators_url: 'https://api.github.com/repos/gosimple/slug/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/gosimple/slug/comments{/number}',
commits_url: 'https://api.github.com/repos/gosimple/slug/commits{/sha}',
compare_url: 'https://api.github.com/repos/gosimple/slug/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/gosimple/slug/contents/{+path}',
contributors_url: 'https://api.github.com/repos/gosimple/slug/contributors',
created_at: '2014-03-31T06:24:51Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/gosimple/slug/deployments',
description: 'URL-friendly slugify with multiple languages support.',
disabled: false,
downloads_url: 'https://api.github.com/repos/gosimple/slug/downloads',
events_url: 'https://api.
|
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/.
|
Loading