fix openshift release script #1392
Annotations
2 errors
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6248778199',
status: 422,
response: {
url: 'https://api.github.com/repos/streamnative/function-mesh/releases/117416404',
status: 422,
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-length': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 20 Sep 2023 12:51:05 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
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': '2526:940B:A12867:1497F0F:650AEAB9',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14985',
'x-ratelimit-reset': '1695217757',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '15',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/streamnative/function-mesh/releases/117416404',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"## What's changed\\n* No changes\\n","draft":true,"prerelease":false,"tag_name":"untagged-3e78cbf1eb6d64fa2f7f","target_commitish":"refs/pull/694/merge"}`,
request: {}
},
event: {
id: '6248778199',
name: 'pull_request',
payload: {
action: 'opened',
number: 694,
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/694/comments'
},
commits: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/694/commits'
},
html: {
href: 'https://github.com/streamnative/function-mesh/pull/694'
},
issue: {
href: 'https://api.github.com/repos/streamnative/function-mesh/issues/694'
},
review_comment: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/comments{/number}'
|
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '6248778199',
name: 'pull_request',
payload: {
action: 'opened',
number: 694,
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/694/comments'
},
commits: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/694/commits'
},
html: {
href: 'https://github.com/streamnative/function-mesh/pull/694'
},
issue: {
href: 'https://api.github.com/repos/streamnative/function-mesh/issues/694'
},
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/694/comments'
},
self: {
href: 'https://api.github.com/repos/streamnative/function-mesh/pulls/694'
},
statuses: {
href: 'https://api.github.com/repos/streamnative/function-mesh/statuses/ce257e0099ee1ad9dde48feeb323d382c11bafd3'
}
},
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.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_u
|
The logs for this run have expired and are no longer available.
Loading