GoSec convert
Command Update
#15306
draft-release.yml
on: pull_request
update_draft_release
9s
Annotations
2 errors
update_draft_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9839382702',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/saf/releases/160398405',
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: 'Mon, 08 Jul 2024 12:16:04 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': '2001:196225:E63EEC:1BA5EDE:668BD884',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4984',
'x-ratelimit-reset': '1720444555',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '16',
'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/saf/releases/160398405',
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":"- Build rpm packages @Amndeep7 (#2620)\\n\\n## Dependency Updates\\n\\n- Bump @types/node from 20.14.9 to 20.14.10 @dependabot (#2707)\\n- Bump marked from 13.0.1 to 13.0.2 @dependabot (#2706)\\n- Bump @aws-sdk/client-securityhub from 3.608.0 to 3.609.0 @dependabot (#2705)\\n- Bump @aws-sdk/client-config-service from 3.606.0 to 3.609.0 @dependabot (#2704)\\n- Bump mocha from 10.5.2 to 10.6.0 @dependabot (#2703)\\n- Bump @oclif/plugin-warn-if-update-available from 3.1.6 to 3.1.7 @dependabot (#2701)\\n- Bump @typescript-eslint/eslint-plugin from 7.14.1 to 7.15.0 @dependabot (#2700)\\n- Bump @oclif/plugin-plugins from 5.3.2 to 5.3.3 @dependabot (#2698)\\n- Bump @aws-sdk/client-securityhub from 3.606.0 to 3.608.0 @dependabot (#2696)\\n- Bump @oclif/plugin-help from 6.2.3 to 6.2.4 @dependabot (#2695)\\n- Bump oclif from 4.13.10 to 4.13.12 @dependabot (#2699)\\n- Bump @oclif/plugin-version from 2.2.4 to 2.2.5 @dependabot (#2697)\\n- Bump typescript from 5.5.2 to 5.5.3 @dependabot (#2694)\\n- Bump @aws-sdk/client-securityhub from 3.602.0 to 3.606.0 @dependabot (#2692)\\n- Bump @smithy/node-http-handler from 3.1.0 to 3.1.1 @dependabot (#2690)\\n- Bump @aws-sdk/client-config-service from 3.600.0 to 3.606.0 @dependabot (#2691)\\n- Bump @types/lodash from 4.17.5 to 4.17.6 @dependabot (#2689)\\n- Bump mocha from 10.5.1 to 10.5.2 @dependabot (#2688)\\n- Bump mocha from 10.5.0 to 10.5.1 @dependabot (#2687)\\n- Bump @types/node from 20.14.8 to 20.14.9 @dependabot (#2686)\\n- Bump @typescript-eslint/eslint-plugin from 7.13.1 to 7.14.1 @dependabot (#2684)\\n- Bump mocha and @types/mocha @dependabot (#2683)\\n- Bump @types/node from 20.14.7 to 20.14.8 @dependabot (#2682)\\n- Bump oclif from 4.13.8 to 4.13.10 @dependabot (#2681)\\n- Bump marked from 13.0.0 to 13.0.1 @
|
update_draft_release
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: '9839382702',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '7bb182eaf694a43f557211f2b750cb95a00cb5e0',
before: '6920272e6fffb5e0e076e6715c6dc7cef042c288',
number: 2702,
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/saf/issues/2702/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2702/commits'
},
html: { href: 'https://github.com/mitre/saf/pull/2702' },
issue: {
href: 'https://api.github.com/repos/mitre/saf/issues/2702'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/saf/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2702/comments'
},
self: { href: 'https://api.github.com/repos/mitre/saf/pulls/2702' },
statuses: {
href: 'https://api.github.com/repos/mitre/saf/statuses/7bb182eaf694a43f557211f2b750cb95a00cb5e0'
}
},
active_lock_reason: null,
additions: 292,
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: 'https://github.com/charleshu-8',
id: 106095667,
|