Bump oclif from 4.4.17 to 4.4.19 #11237
draft-release.yml
on: pull_request
update_draft_release
13s
Annotations
2 errors and 1 warning
update_draft_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8058172544',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/saf/releases/138071808',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 27 Feb 2024 01:27:52 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': '18C1:2DA2:49BECF4:4BEA3F6:65DD3A98',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '678',
'x-ratelimit-reset': '1709000440',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '322',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/mitre/saf/releases/138071808',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"- Add flag to update_controls4delta to rename controls @georgedias (#2263)\\n\\n## Dependency Updates\\n\\n- Bump yaml from 2.3.4 to 2.4.0 @dependabot (#2329)\\n- Bump @aws-sdk/client-securityhub from 3.515.0 to 3.521.0 @dependabot (#2327)\\n- Bump @aws-sdk/client-config-service from 3.517.0 to 3.521.0 @dependabot (#2325)\\n- Bump @oclif/core from 3.19.5 to 3.19.6 @dependabot (#2326)\\n- Bump eslint from 8.56.0 to 8.57.0 @dependabot (#2324)\\n- Bump @oclif/core from 3.19.3 to 3.19.5 @dependabot (#2323)\\n- Bump @types/node from 20.11.19 to 20.11.20 @dependabot (#2322)\\n- Bump @smithy/node-http-handler from 2.3.1 to 2.4.0 @dependabot (#2321)\\n- Bump @oclif/plugin-help from 6.0.13 to 6.0.14 @dependabot (#2320)\\n- Bump @mitre/heimdall-lite from 2.9.5 to 2.9.6 @dependabot (#2317)\\n- Bump @mitre/hdf-converters from 2.9.4 to 2.9.6 @dependabot (#2319)\\n- Bump @oclif/plugin-warn-if-update-available from 3.0.11 to 3.0.12 @dependabot (#2315)\\n- Bump oclif from 4.4.16 to 4.4.17 @dependabot (#2316)\\n- Bump @oclif/plugin-plugins from 4.2.4 to 4.2.5 @dependabot (#2314)\\n- Bump zip-lib from 0.7.3 to 1.0.0 @dependabot (#2302)\\n- Bump @oclif/plugin-plugins from 4.2.3 to 4.2.4 @dependabot (#2312)\\n- Bump @oclif/test from 3.1.17 to 3.2.0 @dependabot (#2311)\\n- Bump oclif from 4.4.12 to 4.4.16 @dependabot (#2300)\\n- Bump dotenv from 16.4.4 to 16.4.5 @dependabot (#2310)\\n- Bump @typescript-eslint/eslint-plugin from 7.0.1 to 7.0.2 @dependabot (#2305)\\n- Bump @oclif/plugin-warn-if-update-available from 3.0.10 to 3.0.11 @dependabot (#2301)\\n- Bump @oclif/plugin-help from 6.0.12 to 6.0.13 @dependabot (#2303)\\n- Bump @oclif/test from 3.1.16 to 3.1.17 @dependabot (#2308)\\n- Bump ip from 2.0.0 to 2.0.1 @dependabot (#2309)\\n- Bump @oclif/core from 3.19.2 to 3.19.3 @dependabot (#230
|
update_draft_release
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '8058172544',
name: 'pull_request',
payload: {
action: 'opened',
number: 2336,
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/2336/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2336/commits'
},
html: { href: 'https://github.com/mitre/saf/pull/2336' },
issue: {
href: 'https://api.github.com/repos/mitre/saf/issues/2336'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/saf/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2336/comments'
},
self: { href: 'https://api.github.com/repos/mitre/saf/pulls/2336' },
statuses: {
href: 'https://api.github.com/repos/mitre/saf/statuses/732c05dc9ce0842d55032dd607a57f21668058ee'
}
},
active_lock_reason: null,
additions: 114,
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 applications, techniques, libraries, and tools developed by MITRE and the security community to streamline security automation for systems a
|
update_draft_release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|