Improve readme #6
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8645142448',
status: 422,
response: {
url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/releases/150726418',
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, 11 Apr 2024 10:18:00 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': 'F047:93FC3:FEBEE:19E28A:6617B8D7',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4972',
'x-ratelimit-reset': '1712833466',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '28',
'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/ironcore-scrapyard/test-actions/releases/150726418',
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":"## Changes\\n## Bug Fixes\\n\\n- Fix readme @damyan (#1)\\n\\n## Maintenance\\n\\n- Fix readme @damyan (#1)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0","tag_name":"v0.1.0","target_commitish":"refs/pull/2/merge"}',
request: {}
},
event: {
id: '8645142448',
name: 'pull_request',
payload: {
action: 'opened',
number: 2,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/103110541?v=4',
description: 'scrap pieces of Metal, waiting to be used to build something shiny!',
events_url: 'https://api.github.com/orgs/ironcore-scrapyard/events',
hooks_url: 'https://api.github.com/orgs/ironcore-scrapyard/hooks',
id: 103110541,
issues_url: 'https://api.github.com/orgs/ironcore-scrapyard/issues',
login: 'ironcore-scrapyard',
members_url: 'https://api.github.com/orgs/ironcore-scrapyard/members{/member}',
node_id: 'O_kgDOBiVXjQ',
public_members_url: 'https://api.github.com/orgs/ironcore-scrapyard/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ironcore-scrapyard/repos',
url: 'https://api.github.com/orgs/ironcore-scrapyard'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/issues/2/comments'
},
commits: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/pulls/2/commits'
},
html: {
href: 'https://github.com/ironcore-scrapyard/test-actions/pull/2'
},
issue: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/issues/2'
|
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: '8645142448',
name: 'pull_request',
payload: {
action: 'opened',
number: 2,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/103110541?v=4',
description: 'scrap pieces of Metal, waiting to be used to build something shiny!',
events_url: 'https://api.github.com/orgs/ironcore-scrapyard/events',
hooks_url: 'https://api.github.com/orgs/ironcore-scrapyard/hooks',
id: 103110541,
issues_url: 'https://api.github.com/orgs/ironcore-scrapyard/issues',
login: 'ironcore-scrapyard',
members_url: 'https://api.github.com/orgs/ironcore-scrapyard/members{/member}',
node_id: 'O_kgDOBiVXjQ',
public_members_url: 'https://api.github.com/orgs/ironcore-scrapyard/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ironcore-scrapyard/repos',
url: 'https://api.github.com/orgs/ironcore-scrapyard'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/issues/2/comments'
},
commits: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/pulls/2/commits'
},
html: {
href: 'https://github.com/ironcore-scrapyard/test-actions/pull/2'
},
issue: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/issues/2'
},
review_comment: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/pulls/2/comments'
},
self: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/pulls/2'
},
statuses: {
href: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/statuses/5d8394fbf0edc8a92f263084581023d45e32f547'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'ironcore-scrapyard: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: false,
archive_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/branches{/branch}',
clone_url: 'https://github.com/ironcore-scrapyard/test-actions.git',
collaborators_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/comments{/number}',
commits_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/commits{/sha}',
compare_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ironcore-scrapyard/test-actions/contents/{+path}
|