gosec Mapper Rework #5272
draft-release.yml
on: pull_request
update_release_draft
14s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10170044612',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/heimdall2/releases/163639419',
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, 30 Jul 2024 21:30:00 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': 'FD02:BEF37:23346F:4086F0:66A95B58',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4765',
'x-ratelimit-reset': '1722375397',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '235',
'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/163639419',
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":"- Hdf2ckl severity @kemley76 (#5866)\\n- checklist metadata input validation on export @kemley76 (#5902)\\n\\n## New Features\\n\\n- Trufflehog mapper @andytang99 (#6013)\\n- Format error message when validating checklist metadata @kemley76 (#6023)\\n\\n## Bug Fixes\\n\\n- GoSec Mapper `impact` Fix @charleshu-8 (#5952)\\n\\n## Dependency Updates\\n\\n- Bump @types/node from 20.14.12 to 22.0.0 @dependabot (#6043)\\n- Bump @aws-sdk/client-config-service from 3.620.0 to 3.620.1 @dependabot (#6042)\\n- Bump csv-stringify from 6.5.0 to 6.5.1 @dependabot (#6041)\\n- Bump @aws-sdk/client-s3 from 3.620.0 to 3.620.1 @dependabot (#6039)\\n- Bump fast-xml-parser from 4.4.0 to 4.4.1 @dependabot (#6037)\\n- Bump sass-loader from 15.0.0 to 16.0.0 @dependabot (#6036)\\n- Bump html-loader from 5.0.0 to 5.1.0 @dependabot (#6034)\\n- Bump @aws-sdk/client-config-service from 3.616.0 to 3.620.0 @dependabot (#6033)\\n- Bump tailwindcss from 3.4.6 to 3.4.7 @dependabot (#6031)\\n- Bump @aws-sdk/client-s3 from 3.617.0 to 3.620.0 @dependabot (#6029)\\n- Bump chai and @types/chai @dependabot (#6032)\\n- Bump @aws-sdk/client-sts from 3.616.0 to 3.620.0 @dependabot (#6030)\\n- Bump eslint-plugin-cypress from 3.3.0 to 3.4.0 @dependabot (#6027)\\n- Bump @smithy/node-http-handler from 3.1.3 to 3.1.4 @dependabot (#6025)\\n- Bump yaml from 2.4.5 to 2.5.0 @dependabot (#6026)\\n- Bump @nestjs/schematics from 10.1.2 to 10.1.3 @dependabot (#6024)\\n- Bump @types/node from 20.14.11 to 20.14.12 @dependabot (#6020)\\n- Bump @aws-sdk/client-s3 from 3.616.0 to 3.617.0 @dependabot (#6017)\\n- Bump @e965/xlsx from 0.20.2 to 0.20.3 @dependabot (#6012)\\n- Bump sass-loader from 14.2.1 to 15.0.0 @dependabot (#6022)\\n- Bump apexcharts from 3.50.0 to 3.51.0 @dependabot (#6015)\\n- Bum
|
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: '10170044612',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '555f1e5a8a6f26676a5dc9acf66295118e5f5c8a',
before: 'f11b42e637835d12476c4b594fb08d0b7248dc90',
number: 5982,
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/5982/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/5982/commits'
},
html: { href: 'https://github.com/mitre/heimdall2/pull/5982' },
issue: {
href: 'https://api.github.com/repos/mitre/heimdall2/issues/5982'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/5982/comments'
},
self: {
href: 'https://api.github.com/repos/mitre/heimdall2/pulls/5982'
},
statuses: {
href: 'https://api.github.com/repos/mitre/heimdall2/statuses/555f1e5a8a6f26676a5dc9acf66295118e5f5c8a'
}
},
active_lock_reason: null,
additions: 16384,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/106095667?v=4',
events_url: 'https://api.github.com/users/charleshu-8/events{/privacy}',
followers_url: 'https://api.github.com/users/charleshu-8/followers',
following_url: 'https://api.github.com/users/charleshu-8/following{/other_user}',
gists_url: 'https://api.github.com/users/charleshu-8/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/charleshu-8',
id: 106095667,
login: 'charleshu-8',
node_id: 'U_kgDOBlLkMw',
organizations_url: 'https://api.github.com/users/charleshu-8/orgs',
received_events_url: 'https://api.github.com/users/charleshu-8/received_events',
repos_url: 'https://api.github.com/users/charleshu-8/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/charleshu-8/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/charleshu-8/subscriptions',
type: 'User',
url: 'https://api.github.com/users/charleshu-8'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/106095667?v=4',
events_url: 'https://api.github.com/users/charleshu-8/events{/privacy}',
followers_url: 'https://api.github.com/users/charleshu-8/followers',
following_url: 'https://api.github.com/users/charleshu-8/following{/other_user}',
gists_url: 'https://api.github.com/users/charleshu-8/gists{/gist_id}',
gravatar_id: '',
html_url:
|