Bump diff from 5.2.0 to 6.0.0 #5880
draft-release.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10675099096',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/heimdall2/releases/172486538',
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, 03 Sep 2024 01:33:30 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': 'B407:33B6AC:401C5D6:40B72AB:66D6676A',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4783',
'x-ratelimit-reset': '1725328453',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '217',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/mitre/heimdall2/releases/172486538',
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: '{"body":"## New Features\\n\\n- updateTenableContentSecurityPolicy @georgedias (#6135)\\n\\n## Dependency Updates\\n\\n- Bump @types/node from 22.5.1 to 22.5.2 @dependabot (#6149)\\n- Bump axios from 1.7.6 to 1.7.7 @dependabot (#6148)\\n- Bump axios from 1.7.5 to 1.7.6 @dependabot (#6146)\\n- Bump apexcharts from 3.52.0 to 3.53.0 @dependabot (#6144)\\n- Bump cypress from 13.14.0 to 13.14.1 @dependabot (#6143)\\n- Bump rexml from 3.3.3 to 3.3.6 in /libs/inspecjs @dependabot (#6128)\\n- Bump @types/diff from 5.2.1 to 5.2.2 @dependabot (#6142)\\n- Bump cypress from 13.13.3 to 13.14.0 @dependabot (#6139)\\n- Bump tsx from 4.18.0 to 4.19.0 @dependabot (#6141)\\n- Bump @types/node from 22.5.0 to 22.5.1 @dependabot (#6140)\\n- Bump @types/validator from 13.12.0 to 13.12.1 @dependabot (#6137)\\n- Bump tsx from 4.17.0 to 4.18.0 @dependabot (#6136)\\n- Bump @types/multer from 1.4.11 to 1.4.12 @dependabot (#6134)\\n- Bump axios from 1.7.4 to 1.7.5 @dependabot (#6132)\\n- Bump @aws-sdk/client-config-service from 3.635.0 to 3.637.0 @dependabot (#6131)\\n- Bump ts-jest from 29.2.4 to 29.2.5 @dependabot (#6133)\\n- Bump @aws-sdk/client-s3 from 3.635.0 to 3.637.0 @dependabot (#6130)\\n- Bump @aws-sdk/client-sts from 3.635.0 to 3.637.0 @dependabot (#6129)\\n- Bump @types/node from 22.4.1 to 22.5.0 @dependabot (#6126)\\n- Bump @aws-sdk/client-config-service from 3.632.0 to 3.635.0 @dependabot (#6123)\\n- Bump core-js from 3.38.0 to 3.38.1 @dependabot (#6122)\\n- Bump @aws-sdk/client-s3 from 3.633.0 to 3.635.0 @dependabot (#6124)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.10.16","tag_name":"v2.10.16","target_commitish":"refs/pull/6150/merge"}',
request: {}
},
event: {
id: '10675099096',
name: 'pull_request',
payload:
|
update_release_draft
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: '10675099096',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a85f29d879db59a3d9da96b8d94a7ee33adac0ce',
before: '19d10e800b5b02101b8bb90c531a47e01e4129b3',
number: 6150,
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/6150/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6150/commits'
},
html: { href: 'https://github.com/mitre/heimdall2/pull/6150' },
issue: {
href: 'https://api.github.com/repos/mitre/heimdall2/issues/6150'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6150/comments'
},
self: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6150'
},
statuses: {
href: 'https://api.github.com/repos/mitre/heimdall2/statuses/a85f29d879db59a3d9da96b8d94a7ee33adac0ce'
}
},
active_lock_reason: null,
additions: 7,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: null,
commit_title: null,
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/in/15368?v=4',
events_url: 'https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}',
followers_url: 'https://api.github.com/users/github-actions%5Bbot%5D/followers',
following_url: 'https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}',
gists_url: 'https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/apps/github-actions',
id: 41898282,
login: 'github-actions[bot]',
node_id: 'MDM6Qm90NDE4OTgyODI=',
organizations_url: 'https://api.github.com/users/github-actions%5Bbot%5D/orgs',
received_events_url: 'https://api.github.com/users/github-actions%5Bbot%5D/received_events',
repos_url: 'https://api.github.com/users/github-actions%5Bbot%5D/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/github-actions%5Bbot%5D/subscriptions',
type: 'Bot',
url: 'https://api.github.com/users/github-actions%5Bbot%5D'
},
merge_method: 'merge'
},
base: {
label: 'mitre:master',
ref: 'master',
repo: {
allow_auto
|