v3.0.0 #302
release-drafter.yml
on: pull_request
Update release draft
3s
Annotations
2 errors
Update release draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11978849383',
status: 422,
response: {
url: 'https://api.github.com/repos/Metron-Project/metron-tagger/releases/183161234',
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: 'Fri, 22 Nov 2024 19:25:12 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': '50C6:337B3:F3E13D:1DF21CB:6740DA98',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1732307111',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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/Metron-Project/metron-tagger/releases/183161234',
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":"## Changes\\n\\n## 🚀 Features\\n\\n- MetronInfo.xml support @bpepple (#150)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.6.1 🌈","tag_name":"v2.6.1","target_commitish":"refs/pull/151/merge"}',
request: {}
},
event: {
id: '11978849383',
name: 'pull_request',
payload: {
action: 'opened',
number: 151,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/108684534?v=4',
description: 'A collection of tools for Comic Book management.',
events_url: 'https://api.github.com/orgs/Metron-Project/events',
hooks_url: 'https://api.github.com/orgs/Metron-Project/hooks',
id: 108684534,
issues_url: 'https://api.github.com/orgs/Metron-Project/issues',
login: 'Metron-Project',
members_url: 'https://api.github.com/orgs/Metron-Project/members{/member}',
node_id: 'O_kgDOBnpk9g',
public_members_url: 'https://api.github.com/orgs/Metron-Project/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Metron-Project/repos',
url: 'https://api.github.com/orgs/Metron-Project'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/issues/151/comments'
},
commits: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/pulls/151/commits'
},
html: {
href: 'https://github.com/Metron-Project/metron-tagger/pull/151'
},
issue: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/issues/151'
},
review_comment: {
href: 'https://a
|
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: '11978849383',
name: 'pull_request',
payload: {
action: 'opened',
number: 151,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/108684534?v=4',
description: 'A collection of tools for Comic Book management.',
events_url: 'https://api.github.com/orgs/Metron-Project/events',
hooks_url: 'https://api.github.com/orgs/Metron-Project/hooks',
id: 108684534,
issues_url: 'https://api.github.com/orgs/Metron-Project/issues',
login: 'Metron-Project',
members_url: 'https://api.github.com/orgs/Metron-Project/members{/member}',
node_id: 'O_kgDOBnpk9g',
public_members_url: 'https://api.github.com/orgs/Metron-Project/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Metron-Project/repos',
url: 'https://api.github.com/orgs/Metron-Project'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/issues/151/comments'
},
commits: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/pulls/151/commits'
},
html: {
href: 'https://github.com/Metron-Project/metron-tagger/pull/151'
},
issue: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/issues/151'
},
review_comment: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/pulls/151/comments'
},
self: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/pulls/151'
},
statuses: {
href: 'https://api.github.com/repos/Metron-Project/metron-tagger/statuses/9a864b2c4e5eb987351d4a0ae7b8f1e4e52454df'
}
},
active_lock_reason: null,
additions: 173,
assignee: null,
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/8381?v=4',
events_url: 'https://api.github.com/users/bpepple/events{/privacy}',
followers_url: 'https://api.github.com/users/bpepple/followers',
following_url: 'https://api.github.com/users/bpepple/following{/other_user}',
gists_url: 'https://api.github.com/users/bpepple/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/bpepple',
id: 8381,
login: 'bpepple',
node_id: 'MDQ6VXNlcjgzODE=',
organizations_url: 'https://api.github.com/users/bpepple/orgs',
received_events_url: 'https://api.github.com/users/bpepple/received_events',
repos_url: 'https://api.github.com/users/bpepple/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/bpepple/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/bpepple/subscriptions',
type: 'User',
url: 'https://api.github.com/users/bpepple',
user_view_type: 'public'
}
],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'Metron-Project:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch:
|