initial commit for saf cli int grype #17231
draft-release.yml
on: pull_request
update_draft_release
4s
Annotations
2 errors
update_draft_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10893164467',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/saf/releases/174867269',
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, 16 Sep 2024 22:40:25 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': '9606:ACE8C:199055B:30FED56:66E8B3D9',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4991',
'x-ratelimit-reset': '1726530023',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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/174867269',
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":"## Dependency Updates\\n\\n- Bump @aws-sdk/client-securityhub from 3.650.0 to 3.651.1 @dependabot (#2884)\\n- Bump oclif from 4.14.31 to 4.14.32 @dependabot (#2886)\\n- Bump @smithy/node-http-handler from 3.2.0 to 3.2.2 @dependabot (#2885)\\n- Bump @oclif/plugin-plugins from 5.4.7 to 5.4.8 @dependabot (#2883)\\n- Bump @aws-sdk/client-config-service from 3.650.0 to 3.651.1 @dependabot (#2881)\\n- Bump @oclif/plugin-warn-if-update-available from 3.1.15 to 3.1.16 @dependabot (#2882)\\n- Bump @oclif/core from 4.0.21 to 4.0.22 @dependabot (#2880)\\n- Bump @types/mocha from 10.0.7 to 10.0.8 @dependabot (#2879)\\n- Bump @types/jest from 29.5.12 to 29.5.13 @dependabot (#2878)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"1.4.14","tag_name":"1.4.14","target_commitish":"refs/pull/2887/merge"}',
request: {}
},
event: {
id: '10893164467',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '886ff4a9935aebe3d9aa835f5793c0b539bc08a9',
before: '5b30c8e8c827e5ded68314ea0d9d4f160e4374a8',
number: 2887,
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.git
|
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: '10893164467',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '886ff4a9935aebe3d9aa835f5793c0b539bc08a9',
before: '5b30c8e8c827e5ded68314ea0d9d4f160e4374a8',
number: 2887,
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/2887/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2887/commits'
},
html: { href: 'https://github.com/mitre/saf/pull/2887' },
issue: {
href: 'https://api.github.com/repos/mitre/saf/issues/2887'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/saf/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2887/comments'
},
self: { href: 'https://api.github.com/repos/mitre/saf/pulls/2887' },
statuses: {
href: 'https://api.github.com/repos/mitre/saf/statuses/886ff4a9935aebe3d9aa835f5793c0b539bc08a9'
}
},
active_lock_reason: null,
additions: 559954,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'mitre:main',
ref: 'main',
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/saf/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/mitre/saf/assignees{/user}',
blobs_url: 'https://api.github.com/repos/mitre/saf/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/mitre/saf/branches{/branch}',
clone_url: 'https://github.com/mitre/saf.git',
collaborators_url: 'https://api.github.com/repos/mitre/saf/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/mitre/saf/comments{/number}',
commits_url: 'https://api.github.com/repos/mitre/saf/commits{/sha}',
compare_url: 'https://api.github.com/repos/mitre/saf/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/mitre/saf/contents/{+path}',
contributors_url: 'https://api.github.com/repos/mitre/saf/contributors',
created_at: '2021-11-29T16:50:20Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/mitre/saf/deployments',
description: 'The MITRE Security Automation Framework (SAF) Command Line Interface (CLI) brings together applicat
|