Add an sbom workflow #6613
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: '11285065546',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/heimdall2/releases/177690235',
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, 11 Oct 2024 02:09:15 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': 'C487:203212:39F83D:6C7FD3:670888CB',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1728616152',
'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#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/mitre/heimdall2/releases/177690235',
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":"- Backend improvements @Amndeep7 (#6234)\\n- README improvements @Amndeep7 (#6233)\\n\\n## Dependency Updates\\n\\n- Bump @aws-sdk/client-s3 from 3.668.0 to 3.669.0 @dependabot (#6274)\\n- Bump @aws-sdk/client-config-service from 3.668.0 to 3.669.0 @dependabot (#6273)\\n- Bump @aws-sdk/client-s3 from 3.667.0 to 3.668.0 @dependabot (#6272)\\n- Bump express-session from 1.18.0 to 1.18.1 @dependabot (#6268)\\n- Bump @aws-sdk/client-config-service from 3.667.0 to 3.668.0 @dependabot (#6270)\\n- Bump express from 4.21.0 to 4.21.1 @dependabot (#6266)\\n- Bump @aws-sdk/client-s3 from 3.666.0 to 3.667.0 @dependabot (#6269)\\n- Bump @aws-sdk/client-config-service from 3.665.0 to 3.667.0 @dependabot (#6265)\\n- Bump @types/diff from 5.2.2 to 5.2.3 @dependabot (#6264)\\n- Bump winston from 3.14.2 to 3.15.0 @dependabot (#6260)\\n- Bump @types/node from 22.7.4 to 22.7.5 @dependabot (#6258)\\n- Bump @aws-sdk/client-s3 from 3.665.0 to 3.666.0 @dependabot (#6259)\\n- Bump typedoc from 0.26.7 to 0.26.8 @dependabot (#6256)\\n- Bump express-rate-limit from 7.4.0 to 7.4.1 @dependabot (#6252)\\n- Bump sequelize from 6.37.3 to 6.37.4 @dependabot (#6257)\\n- Bump @aws-sdk/client-s3 from 3.664.0 to 3.665.0 @dependabot (#6253)\\n- Bump @aws-sdk/client-config-service from 3.664.0 to 3.665.0 @dependabot (#6254)\\n- Bump eslint-plugin-import from 2.30.0 to 2.31.0 @dependabot (#6248)\\n- Bump sanitize-html from 2.13.0 to 2.13.1 @dependabot (#6247)\\n- Bump @types/lodash from 4.17.9 to 4.17.10 @dependabot (#6249)\\n- Bump @aws-sdk/client-s3 from 3.662.0 to 3.664.0 @dependabot (#6246)\\n- Bump @aws-sdk/client-config-service from 3.662.0 to 3.664.0 @dependabot (#6245)\\n- Bump @aws-sdk/client-s3 from 3.658.1 to 3.662.0 @dependabot (#6241)\\n- Bump @aws-sdk/client-config
|
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: '11285065546',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b13395acfdd2e87106bc8621662fe4a69b4883b0',
before: '0609f6f827a2c238ee73dbb4cdbff36e9060f438',
number: 6251,
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/6251/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6251/commits'
},
html: { href: 'https://github.com/mitre/heimdall2/pull/6251' },
issue: {
href: 'https://api.github.com/repos/mitre/heimdall2/issues/6251'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6251/comments'
},
self: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/6251'
},
statuses: {
href: 'https://api.github.com/repos/mitre/heimdall2/statuses/b13395acfdd2e87106bc8621662fe4a69b4883b0'
}
},
active_lock_reason: null,
additions: 51,
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
|