Bump @oclif/plugin-warn-if-update-available from 2.1.1 to 3.0.15 #12910
draft-release.yml
on: pull_request
update_draft_release
8s
Annotations
2 errors
update_draft_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8808970712',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/saf/releases/152499331',
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: 'Wed, 24 Apr 2024 00:23:18 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': 'CCC6:2FCA57:1E87A46:3001BCB:662850F6',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4773',
'x-ratelimit-reset': '1713921024',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '227',
'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/152499331',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Dependency Updates\\n\\n- Bump @oclif/plugin-plugins from 2.4.7 to 5.0.14 @dependabot (#2502)\\n- Bump oclif from 3.17.2 to 4.8.8 @dependabot (#2501)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"1.4.5","tag_name":"1.4.5","target_commitish":"refs/pull/2503/merge"}',
request: {}
},
event: {
id: '8808970712',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '65e68882f9619c4beddd1439d6580a145edd61a9',
before: '26b1911ac62cb3388fcd1518204e47ad3a891939',
number: 2503,
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/2503/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2503/commits'
},
html: { href: 'https://github.com/mitre/saf/pull/2503' },
issue: {
href: 'https://api.github.com/repos/mitre/saf/issues/2503'
},
review_comment: {
href: 'https://api.github.com/repos/mitr
|
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: '8808970712',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '65e68882f9619c4beddd1439d6580a145edd61a9',
before: '26b1911ac62cb3388fcd1518204e47ad3a891939',
number: 2503,
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/2503/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2503/commits'
},
html: { href: 'https://github.com/mitre/saf/pull/2503' },
issue: {
href: 'https://api.github.com/repos/mitre/saf/issues/2503'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/saf/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2503/comments'
},
self: { href: 'https://api.github.com/repos/mitre/saf/pulls/2503' },
statuses: {
href: 'https://api.github.com/repos/mitre/saf/statuses/65e68882f9619c4beddd1439d6580a145edd61a9'
}
},
active_lock_reason: null,
additions: 6542,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: null,
commit_title: null,
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/in/15368?v=4',
events_url: 'https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}',
followers_url: 'https://api.github.com/users/github-actions%5Bbot%5D/followers',
following_url: 'https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}',
gists_url: 'https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/apps/github-actions',
id: 41898282,
login: 'github-actions[bot]',
node_id: 'MDM6Qm90NDE4OTgyODI=',
organizations_url: 'https://api.github.com/users/github-actions%5Bbot%5D/orgs',
received_events_url: 'https://api.github.com/users/github-actions%5Bbot%5D/received_events',
repos_url: 'https://api.github.com/users/github-actions%5Bbot%5D/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/github-actions%5Bbot%5D/subscriptions',
type: 'Bot',
url: 'https://api.github.com/users/github-actions%5Bbot%5D'
},
merge_method: 'merge'
},
base: {
label: 'mitre:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_c
|