Chore/documentation improvements #281
release_drafter.yml
on: pull_request
update_release_draft
7s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6571647319',
status: 422,
response: {
url: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/releases/124033708',
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: 'Thu, 19 Oct 2023 08:05:28 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': '3F87:1200:5EB836:C20C8D:6530E348',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '988',
'x-ratelimit-reset': '1697706021',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'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/wilhelm-lab/oktoberfest/releases/124033708',
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":"## Changes\\n\\n* Release/0.5.0 (#134) @picciama\\n\\n## :package: Dependencies\\n\\n* [DEPENDABOT]: Bump mshick/add-pr-comment from 1 to 2 (#90) @dependabot\\n* [DEPENDABOT]: Bump codecov/codecov-action from 2.1.0 to 3.1.4 (#92) @dependabot\\n* [DEPENDABOT]: Bump pypa/gh-action-pypi-publish from 1.4.2 to 1.8.10 (#112) @dependabot\\n","draft":true,"prerelease":false,"make_latest":"true","name":"0.5.0 🌈","tag_name":"0.5.0","target_commitish":"refs/pull/138/merge"}',
request: {}
},
event: {
id: '6571647319',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'dafe07acca7e43f81a6e6b51e351e466feb4c02b',
before: '251512b4164a759b34a24f2a0a4b6e3cae5353c7',
number: 138,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/90617911?v=4',
description: '',
events_url: 'https://api.github.com/orgs/wilhelm-lab/events',
hooks_url: 'https://api.github.com/orgs/wilhelm-lab/hooks',
id: 90617911,
issues_url: 'https://api.github.com/orgs/wilhelm-lab/issues',
login: 'wilhelm-lab',
members_url: 'https://api.github.com/orgs/wilhelm-lab/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjkwNjE3OTEx',
public_members_url: 'https://api.github.com/orgs/wilhelm-lab/public_members{/member}',
repos_url: 'https://api.github.com/orgs/wilhelm-lab/repos',
url: 'https://api.github.com/orgs/wilhelm-lab'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/issues/138/comments'
},
commits: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/pulls/138/commits'
},
|
update_release_draft
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: '6571647319',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'dafe07acca7e43f81a6e6b51e351e466feb4c02b',
before: '251512b4164a759b34a24f2a0a4b6e3cae5353c7',
number: 138,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/90617911?v=4',
description: '',
events_url: 'https://api.github.com/orgs/wilhelm-lab/events',
hooks_url: 'https://api.github.com/orgs/wilhelm-lab/hooks',
id: 90617911,
issues_url: 'https://api.github.com/orgs/wilhelm-lab/issues',
login: 'wilhelm-lab',
members_url: 'https://api.github.com/orgs/wilhelm-lab/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjkwNjE3OTEx',
public_members_url: 'https://api.github.com/orgs/wilhelm-lab/public_members{/member}',
repos_url: 'https://api.github.com/orgs/wilhelm-lab/repos',
url: 'https://api.github.com/orgs/wilhelm-lab'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/issues/138/comments'
},
commits: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/pulls/138/commits'
},
html: {
href: 'https://github.com/wilhelm-lab/oktoberfest/pull/138'
},
issue: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/issues/138'
},
review_comment: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/pulls/138/comments'
},
self: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/pulls/138'
},
statuses: {
href: 'https://api.github.com/repos/wilhelm-lab/oktoberfest/statuses/dafe07acca7e43f81a6e6b51e351e466feb4c02b'
}
},
active_lock_reason: null,
additions: 1515,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/50995210?v=4',
events_url: 'https://api.github.com/users/picciama/events{/privacy}',
followers_url: 'https://api.github.com/users/picciama/followers',
following_url: 'https://api.github.com/users/picciama/following{/other_user}',
gists_url: 'https://api.github.com/users/picciama/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/picciama',
id: 50995210,
login: 'picciama',
node_id: 'MDQ6VXNlcjUwOTk1MjEw',
organizations_url: 'https://api.github.com/users/picciama/orgs',
received_events_url: 'https://api.github.com/users/picciama/received_events',
repos_url: 'https://api.github.com/users/picciama/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/picciama/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/picciama/subscriptions',
type: 'User',
url: 'https://api.github.com/users/picciama'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/50995210?v=4',
events_url: 'https://api.github.com/users/picciama/events{/privacy}',
followers_url: 'https://api.github.com/users/picciama/followers',
following_url: 'https://api.github.com/users/picciama/following{/other_user}',
gists_url: 'https://api.github.com/users/picciama/gists{/gist_id}',
gr
|