Make FeDHCP reuse-compliant #162
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7963051107',
status: 422,
response: {
url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/releases/142592982',
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: 'Mon, 19 Feb 2024 17:07:09 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': '602F:42B6D:2FFF4A:5F76AE:65D38ABD',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14982',
'x-ratelimit-reset': '1708365951',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '18',
'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/FeDHCP/releases/142592982',
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## 🚀 Features\\n\\n- Bump module versions @damyan (#80)\\n- Run all actions on public runners @damyan (#79)\\n\\n## 🧰 Maintenance\\n\\n- Bump golangci/golangci-lint-action from 3 to 4 @dependabot (#73)\\n- Bump sigs.k8s.io/controller-runtime from 0.17.0 to 0.17.1 @dependabot (#72)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.7","tag_name":"v0.1.7","target_commitish":"refs/pull/81/merge"}',
request: {}
},
event: {
id: '7963051107',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '68f75b6a303b1b7e5222da5abce6ab2c431d4a34',
before: 'abc9227ea46f63881337c39c8b79478743715901',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/4978?v=4',
created_at: '2020-12-16T23:19:05Z',
description: 'SAP Enterprise Account',
html_url: 'https://github.com/enterprises/sap',
id: 4978,
name: 'SAP',
node_id: 'MDEwOkVudGVycHJpc2U0OTc4',
slug: 'sap',
updated_at: '2023-07-28T08:32:39Z',
website_url: 'https://sap.com'
},
number: 81,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/147836484?v=4',
description: 'The Kubernetes driven IaaS',
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://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: '7963051107',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '68f75b6a303b1b7e5222da5abce6ab2c431d4a34',
before: 'abc9227ea46f63881337c39c8b79478743715901',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/4978?v=4',
created_at: '2020-12-16T23:19:05Z',
description: 'SAP Enterprise Account',
html_url: 'https://github.com/enterprises/sap',
id: 4978,
name: 'SAP',
node_id: 'MDEwOkVudGVycHJpc2U0OTc4',
slug: 'sap',
updated_at: '2023-07-28T08:32:39Z',
website_url: 'https://sap.com'
},
number: 81,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/147836484?v=4',
description: 'The Kubernetes driven IaaS',
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/FeDHCP/issues/81/comments'
},
commits: {
href: 'https://api.github.com/repos/ironcore-dev/FeDHCP/pulls/81/commits'
},
html: { href: 'https://github.com/ironcore-dev/FeDHCP/pull/81' },
issue: {
href: 'https://api.github.com/repos/ironcore-dev/FeDHCP/issues/81'
},
review_comment: {
href: 'https://api.github.com/repos/ironcore-dev/FeDHCP/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ironcore-dev/FeDHCP/pulls/81/comments'
},
self: {
href: 'https://api.github.com/repos/ironcore-dev/FeDHCP/pulls/81'
},
statuses: {
href: 'https://api.github.com/repos/ironcore-dev/FeDHCP/statuses/68f75b6a303b1b7e5222da5abce6ab2c431d4a34'
}
},
active_lock_reason: null,
additions: 74,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'ironcore-dev:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/branches{/branch}',
clone_url: 'https://github.com/ironcore-dev/FeDHCP.git',
collaborators_url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ironcore-dev/FeDHCP/comments{/number}',
commits_url: 'https://api.github.com
|