Push directly to ironbank from github actions #7988
draft-release.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12510549726',
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: 'Fri, 27 Dec 2024 01:48:35 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': 'F819:38972A:1F1CED0:1FD5FED:676E0773',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1735267709',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/6448/merge","name":"v2.11.2","tag_name":"v2.11.2","body":"## Dependency Updates\\n\\n- Bump highlight.js from 11.11.0 to 11.11.1 @dependabot (#6493)\\n- Bump htmlparser2 from 9.1.0 to 10.0.0 @dependabot (#6492)\\n- Bump diff2html from 3.4.48 to 3.4.51 @dependabot (#6490)\\n- Bump @smithy/node-http-handler from 3.3.2 to 3.3.3 @dependabot (#6491)\\n- Bump @aws-sdk/client-s3 from 3.716.0 to 3.717.0 @dependabot (#6489)\\n- Bump dotenv-cli from 7.4.4 to 8.0.0 @dependabot (#6488)\\n- Bump @aws-sdk/client-s3 from 3.715.0 to 3.716.0 @dependabot (#6486)\\n- Bump @aws-sdk/client-config-service from 3.714.0 to 3.716.0 @dependabot (#6485)\\n- Bump cypress from 13.16.1 to 13.17.0 @dependabot (#6480)\\n- Bump @aws-sdk/client-s3 from 3.714.0 to 3.715.0 @dependabot (#6484)\\n- Bump sanitize-html from 2.13.1 to 2.14.0 @dependabot (#6483)\\n- Bump @aws-sdk/client-s3 from 3.713.0 to 3.714.0 @dependabot (#6481)\\n- Bump vue-cookies from 1.8.4 to 1.8.5 @dependabot (#6478)\\n- Bump @aws-sdk/client-config-service from 3.713.0 to 3.714.0 @dependabot (#6482)\\n- Bump tailwindcss from 3.4.16 to 3.4.17 @dependabot (#6477)\\n- Bump highlight.js from 11.10.0 to 11.11.0 @dependabot (#6475)\\n- Bump express-rate-limit from 7.4.1 to 7.5.0 @dependabot (#6472)\\n- Bump @aws-sdk/client-s3 from 3.712.0 to 3.713.0 @dependabot (#6476)\\n- Bump @aws-sdk/client-config-service from 3.709.0 to 3.713.0 @dependabot (#6474)\\n- Bump fast-xml-parser from 4.5.0 to 4.5.1 @dependabot (#6471)\\n- Bump @aws-sdk/client-s3 from 3.709.0 to 3.712.0 @dependabot (#6468)\\n- Bump @types/node from 22.10.1 to 22.10.2 @dependabot (#6466)\\n- Bump @aws-sdk/client-config-service from 3.702.0 to 3.709.0 @dependabot (#6464)\\n- Bump @aws-sdk/client-s3 from 3.705.0 to
|
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: '12510549726',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '140d22cc8cebaae3ba3a2fb5fb263e2744faafaa',
before: '75fdaa0d50ec2da730577d625435a20a73efa6c5',
number: 6448,
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/6448/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6448/commits'
},
html: { href: 'https://github.com/mitre/heimdall2/pull/6448' },
issue: {
href: 'https://api.github.com/repos/mitre/heimdall2/issues/6448'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6448/comments'
},
self: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6448'
},
statuses: {
href: 'https://api.github.com/repos/mitre/heimdall2/statuses/140d22cc8cebaae3ba3a2fb5fb263e2744faafaa'
}
},
active_lock_reason: null,
additions: 50,
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
|