Add reuse license handling #25
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6810729946',
status: 422,
response: {
url: 'https://api.github.com/repos/ironcore-dev/vgopath/releases/128355032',
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, 09 Nov 2023 10:48:47 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': '8857:594A:33E0BAF:69F73D8:654CB90F',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '944',
'x-ratelimit-reset': '1699528034',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '56',
'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-dev/vgopath/releases/128355032',
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## 🧰 Maintenance\\n\\n- Bump github.com/onsi/gomega from 1.29.0 to 1.30.0 @dependabot (#5)\\n- Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 @dependabot (#4)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.4","tag_name":"v0.1.4","target_commitish":"refs/pull/3/merge"}',
request: {}
},
event: {
id: '6810729946',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b0ea965279e03dbc3861902e88b3be0b1c4cd0f5',
before: '5b12f18ac455798876f8c53f2da286a8073bd150',
number: 3,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/147836484?v=4',
description: null,
events_url: 'https://api.github.com/orgs/ironcore-dev/events',
hooks_url: 'https://api.github.com/orgs/ironcore-dev/hooks',
id: 147836484,
issues_url: 'https://api.github.com/orgs/ironcore-dev/issues',
login: 'ironcore-dev',
members_url: 'https://api.github.com/orgs/ironcore-dev/members{/member}',
node_id: 'O_kgDOCM_ORA',
public_members_url: 'https://api.github.com/orgs/ironcore-dev/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ironcore-dev/repos',
url: 'https://api.github.com/orgs/ironcore-dev'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/issues/3/comments'
},
commits: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/pulls/3/commits'
},
html: { href: 'https://github.com/ironcore-dev/vgopath/pull/3' },
issue: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/issues/3'
},
|
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: '6810729946',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b0ea965279e03dbc3861902e88b3be0b1c4cd0f5',
before: '5b12f18ac455798876f8c53f2da286a8073bd150',
number: 3,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/147836484?v=4',
description: null,
events_url: 'https://api.github.com/orgs/ironcore-dev/events',
hooks_url: 'https://api.github.com/orgs/ironcore-dev/hooks',
id: 147836484,
issues_url: 'https://api.github.com/orgs/ironcore-dev/issues',
login: 'ironcore-dev',
members_url: 'https://api.github.com/orgs/ironcore-dev/members{/member}',
node_id: 'O_kgDOCM_ORA',
public_members_url: 'https://api.github.com/orgs/ironcore-dev/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ironcore-dev/repos',
url: 'https://api.github.com/orgs/ironcore-dev'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/issues/3/comments'
},
commits: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/pulls/3/commits'
},
html: { href: 'https://github.com/ironcore-dev/vgopath/pull/3' },
issue: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/issues/3'
},
review_comment: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/pulls/3/comments'
},
self: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/pulls/3'
},
statuses: {
href: 'https://api.github.com/repos/ironcore-dev/vgopath/statuses/b0ea965279e03dbc3861902e88b3be0b1c4cd0f5'
}
},
active_lock_reason: null,
additions: 294,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'ironcore-dev: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-dev/vgopath/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ironcore-dev/vgopath/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ironcore-dev/vgopath/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ironcore-dev/vgopath/branches{/branch}',
clone_url: 'https://github.com/ironcore-dev/vgopath.git',
collaborators_url: 'https://api.github.com/repos/ironcore-dev/vgopath/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ironcore-dev/vgopath/comments{/number}',
commits_url: 'https://api.github.com/repos/ironcore-dev/vgopath/commits{/sha}',
compare_url: 'https://api.github.com/repos/ironcore-dev/vgopath/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ironcore-dev/vgopath/contents/{+path}',
contributors_url: 'https://api.github.com/repos/ironcore-dev/vgopath/contributors',
created_at: '2023-11-02T12:10:01Z',
default_branch: 'main',
delete_branch_on_merge: true,
|