Swapped adm-zip out for zip.js #6178
Annotations
2 errors
Run release-drafter/release-drafter@v6
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10909018321',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/heimdall2/releases',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 17 Sep 2024 18:37:56 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; 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': 'FC07:2FBF0:960254:120A0AA:66E9CC84',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4921',
'x-ratelimit-reset': '1726599946',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '79',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/mitre/heimdall2/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/6018/merge","name":"v2.10.19","tag_name":"v2.10.19","body":"## Dependency Updates\\n\\n- Bump @types/validator from 13.12.1 to 13.12.2 @dependabot (#6192)\\n- Bump eslint from 8.57.0 to 8.57.1 @dependabot (#6190)\\n- Bump @types/node from 22.5.4 to 22.5.5 @dependabot (#6191)\\n- Bump @nestjs/common from 10.4.1 to 10.4.2 @dependabot (#6194)\\n- Bump date-fns from 3.6.0 to 4.0.0 @dependabot (#6193)\\n- Bump @nestjs/platform-express from 10.4.1 to 10.4.2 @dependabot (#6188)\\n- Bump @nestjs/core from 10.4.1 to 10.4.2 @dependabot (#6189)\\n- Bump @nestjs/testing from 10.4.1 to 10.4.2 @dependabot (#6187)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '10909018321',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'bf5e2aef8947ca24132cb8ca37f7d96f2c1fdb2c',
before: 'f9c454cada7f8da1306067a91dd7e6aabe0560ed',
number: 6018,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/44968?v=4',
description: 'Open Source Software from the MITRE Corporation',
events_url: 'https://api.github.com/orgs/mitre/events',
hooks_url: 'https://api.github.com/orgs/mitre/hooks',
id: 44968,
issues_url: 'https://api.github.com/orgs/mitre/issues',
login: 'mitre',
members_url: 'https://api.github.com/orgs/mitre/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ0OTY4',
public_members_url: 'https://api.github.com/orgs/mitre/public_members{/member}',
repos_url: 'https://api.github.com/orgs/mitre/repos',
url: 'https://api.github.com/orgs/mitre'
},
pull_request: {
_links: {
comments: {
|
Run release-drafter/release-drafter@v6
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10909018321',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'bf5e2aef8947ca24132cb8ca37f7d96f2c1fdb2c',
before: 'f9c454cada7f8da1306067a91dd7e6aabe0560ed',
number: 6018,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/44968?v=4',
description: 'Open Source Software from the MITRE Corporation',
events_url: 'https://api.github.com/orgs/mitre/events',
hooks_url: 'https://api.github.com/orgs/mitre/hooks',
id: 44968,
issues_url: 'https://api.github.com/orgs/mitre/issues',
login: 'mitre',
members_url: 'https://api.github.com/orgs/mitre/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ0OTY4',
public_members_url: 'https://api.github.com/orgs/mitre/public_members{/member}',
repos_url: 'https://api.github.com/orgs/mitre/repos',
url: 'https://api.github.com/orgs/mitre'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/mitre/heimdall2/issues/6018/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6018/commits'
},
html: { href: 'https://github.com/mitre/heimdall2/pull/6018' },
issue: {
href: 'https://api.github.com/repos/mitre/heimdall2/issues/6018'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6018/comments'
},
self: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6018'
},
statuses: {
href: 'https://api.github.com/repos/mitre/heimdall2/statuses/bf5e2aef8947ca24132cb8ca37f7d96f2c1fdb2c'
}
},
active_lock_reason: null,
additions: 47,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'mitre:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/mitre/heimdall2/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/mitre/heimdall2/assignees{/user}',
blobs_url: 'https://api.github.com/repos/mitre/heimdall2/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/mitre/heimdall2/branches{/branch}',
clone_url: 'https://github.com/mitre/heimdall2.git',
collaborators_url: 'https://api.github.com/repos/mitre/heimdall2/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/mitre/heimdall2/comments{/number}',
commits_url: 'https://api.github.com/repos/mitre/heimdall2/commits{/sha}',
compare_url: 'https://api.github.com/repos/mitre/heimdall2/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/mitre/heimdall2/contents/{+path}',
contributors_url: 'https://api.github.com/repos/mitre/heimdall2/contributors',
created_at: '2020-04-15T19:59:46Z',
default_branch: 'master',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/mitre/heimd
|
Loading