Fix actions #247
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: '8046362753',
status: 422,
response: {
url: 'https://api.github.com/repos/ironcore-dev/oob/releases/120769938',
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, 26 Feb 2024 09:13:32 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': '8007:3009:122032F:241B1D5:65DC563C',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14994',
'x-ratelimit-reset': '1708942409',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/oob/releases/120769938',
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- Only reconcile ip objects with specific label @5kt (#116)\\n- Custom payload for user creation on HP @5kt (#97)\\n- Add applyconfiguration @Gchbg (#103)\\n- Deps @Gchbg (#106)\\n- Cleanup @Gchbg (#100)\\n- Read the BMC firmware version where available @5kt (#94)\\n- Remove ugly workaround for missing option @Gchbg (#90)\\n- Simplify BMC interface with type assertions @Gchbg (#89)\\n- Remove dependency on virtlet @Gchbg (#88)\\n- Update dependencies @Gchbg (#85)\\n- Update dependencies @Gchbg (#84)\\n\\n## Features\\n\\n- Run golang tests on each PR @damyan (#104)\\n\\n## Bug Fixes\\n\\n- Fix Dockerfile @Gchbg (#101)\\n- Fix some small docker build workflow issues @damyan (#82)\\n\\n## Maintenance\\n\\n- bump debian from bookworm-20240130-slim to bookworm-20240211-slim @dependabot (#115)\\n- bump golangci/golangci-lint-action from 3 to 4 @dependabot (#114)\\n- bump golang from 1.21 to 1.22 @dependabot (#113)\\n- bump debian from bookworm-20240110-slim to bookworm-20240130-slim @dependabot (#110)\\n- bump release-drafter/release-drafter from 5 to 6 @dependabot (#111)\\n- bump webfactory/ssh-agent from 0.8.0 to 0.9.0 @dependabot (#112)\\n- bump actions/setup-go from 4 to 5 @dependabot (#105)\\n- bump debian from bookworm-20231218-slim to bookworm-20240110-slim @dependabot (#102)\\n- bump debian from bookworm-20231120-slim to bookworm-20231218-slim @dependabot (#99)\\n- bump actions/setup-go from 4 to 5 @dependabot (#96)\\n- bump debian from bookworm-20231030-slim to bookworm-20231120-slim @dependabot (#95)\\n- bump debian from bookworm-20231009-slim to bookworm-20231030-slim @dependabot (#93)\\n- bump debian from bookworm-20230919-slim to bookworm-20231009-slim @dependabot (#86)\\n- bump debian from bookworm-20230904-slim to bookworm-20230919-sl
|
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: '8046362753',
name: 'pull_request',
payload: {
action: 'opened',
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: 117,
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/oob/issues/117/comments'
},
commits: {
href: 'https://api.github.com/repos/ironcore-dev/oob/pulls/117/commits'
},
html: { href: 'https://github.com/ironcore-dev/oob/pull/117' },
issue: {
href: 'https://api.github.com/repos/ironcore-dev/oob/issues/117'
},
review_comment: {
href: 'https://api.github.com/repos/ironcore-dev/oob/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ironcore-dev/oob/pulls/117/comments'
},
self: {
href: 'https://api.github.com/repos/ironcore-dev/oob/pulls/117'
},
statuses: {
href: 'https://api.github.com/repos/ironcore-dev/oob/statuses/094827bccf68515e84eccfa772db972f1ba2d6c6'
}
},
active_lock_reason: null,
additions: 11,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'ironcore-dev:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: false,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/ironcore-dev/oob/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ironcore-dev/oob/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ironcore-dev/oob/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ironcore-dev/oob/branches{/branch}',
clone_url: 'https://github.com/ironcore-dev/oob.git',
collaborators_url: 'https://api.github.com/repos/ironcore-dev/oob/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ironcore-dev/oob/comments{/number}',
commits_url: 'https://api.github.com/repos/ironcore-dev/oob/commits{/sha}',
compare_url: 'https://api.github.com/repos/ironcore-dev/oob/compare/{base}...{head}',
contents_url:
|