fix action permissions #1443
release-note.yml
on: pull_request
update_release_draft
17s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '7607525379',
status: 403,
response: {
url: 'https://api.github.com/repos/streamnative/function-mesh/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, 22 Jan 2024 06:54:44 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': '1436:7D83:1E37B26:3FD831D:65AE1134',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14933',
'x-ratelimit-reset': '1705909211',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '67',
'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/streamnative/function-mesh/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/717/merge","name":"","tag_name":"","body":"## What\'s changed\\n* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#709) @dependabot\\n* Use `bash -c` instead of `sh -c` (#714) @jiangpengcheng\\n* Avoid NPE error when convert HPA V2 to V2beta2 (#713) @jiangpengcheng\\n* optimize jvm parameters (#708) @nlu90\\n* Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /images/samples/go-function-samples/func (#707) @dependabot\\n* Bump golang.org/x/net from 0.7.0 to 0.17.0 in /images/samples/go-function-samples/func (#702) @dependabot\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '7607525379',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/104452?v=4',
created_at: '2023-12-14T05:31:36Z',
description: '',
html_url: 'https://github.com/enterprises/streamnative',
id: 104452,
name: 'StreamNative, Inc.',
node_id: 'E_kgDOAAGYBA',
slug: 'streamnative',
updated_at: '2024-01-03T05:30:00Z',
website_url: 'https://streamnative.io/'
},
number: 717,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/44651383?v=4',
description: 'Cloud-Native streaming data platform powered by Apache Pulsar',
events_url: 'https://api.github.com/orgs/streamnative/events',
hooks_url: 'https://api.github.com/orgs/streamnative/hooks',
id: 44651383,
issues_url: 'https://api.github.com/orgs/streamnative/issues',
login: 'streamnative',
members_url: 'https://api.github.com/orgs/streamnative/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ0NjUxMzgz',
public_members_url: 'https://api.github.com/orgs/streamnative/public_members{/member
|
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: '7607525379',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/104452?v=4',
created_at: '2023-12-14T05:31:36Z',
description: '',
html_url: 'https://github.com/enterprises/streamnative',
id: 104452,
name: 'StreamNative, Inc.',
node_id: 'E_kgDOAAGYBA',
slug: 'streamnative',
updated_at: '2024-01-03T05:30:00Z',
website_url: 'https://streamnative.io/'
},
number: 717,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/44651383?v=4',
description: 'Cloud-Native streaming data platform powered by Apache Pulsar',
events_url: 'https://api.github.com/orgs/streamnative/events',
hooks_url: 'https://api.github.com/orgs/streamnative/hooks',
id: 44651383,
issues_url: 'https://api.github.com/orgs/streamnative/issues',
login: 'streamnative',
members_url: 'https://api.github.com/orgs/streamnative/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ0NjUxMzgz',
public_members_url: 'https://api.github.com/orgs/streamnative/public_members{/member}',
repos_url: 'https://api.github.com/orgs/streamnative/repos',
url: 'https://api.github.com/orgs/streamnative'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/streamnative/function-mesh/issues/717/comments'
},
commits: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/717/commits'
},
html: {
href: 'https://github.com/streamnative/function-mesh/pull/717'
},
issue: {
href: 'https://api.github.com/repos/streamnative/function-mesh/issues/717'
},
review_comment: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/717/comments'
},
self: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/717'
},
statuses: {
href: 'https://api.github.com/repos/streamnative/function-mesh/statuses/34954bb0ba3e18ecc0a21a43a8311cb9ba2b78bc'
}
},
active_lock_reason: null,
additions: 6,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/1381618?v=4',
events_url: 'https://api.github.com/users/freeznet/events{/privacy}',
followers_url: 'https://api.github.com/users/freeznet/followers',
following_url: 'https://api.github.com/users/freeznet/following{/other_user}',
gists_url: 'https://api.github.com/users/freeznet/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/freeznet',
id: 1381618,
login: 'freeznet',
node_id: 'MDQ6VXNlcjEzODE2MTg=',
organizations_url: 'https://api.github.com/users/freeznet/orgs',
received_events_url: 'https://api.github.com/users/freeznet/received_events',
repos_url: 'https://api.github.com/users/freeznet/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/freeznet/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/freeznet/subscriptions',
type: 'User',
url: 'https://api.github.com/users/freeznet'
},
assignees: [
{
avatar_url: 'https://avatars.githubuserconte
|