Update release-drafter/release-drafter action to v6 #167
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: '7779264591',
status: 422,
response: {
url: 'https://api.github.com/repos/lunarway/humio_exporter/releases/125177652',
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, 05 Feb 2024 03:40:36 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': 'EC38:133A:2296C7:477671:65C058B4',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14991',
'x-ratelimit-reset': '1707108034',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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/lunarway/humio_exporter/releases/125177652',
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\\n## Dependency Updates\\n\\n<details>\\n<summary>15 changes</summary>\\n\\n* Update alpine Docker tag to v3.19.1 (#91) @lunar-renovate\\n* Update actions/cache action to v4 (#90) @lunar-renovate\\n* Update module github.com/prometheus/client\\\\_golang to v1.18.0 (#88) @lunar-renovate\\n* Update golang Docker tag to v1.21.6 (#89) @lunar-renovate\\n* Update golang Docker tag to v1.21.5 (#84) @lunar-renovate\\n* Update actions/setup-go action to v5 (#85) @lunar-renovate\\n* Update docker/login-action action to v3 (#86) @lunar-renovate\\n* Update goreleaser/goreleaser-action action to v5 (#87) @lunar-renovate\\n* Update alpine Docker tag to v3.19.0 (#83) @lunar-renovate\\n* Update module github.com/alecthomas/kingpin/v2 to v2.4.0 (#80) @lunar-renovate\\n* Update golang Docker tag to v1.21.4 (#78) @lunar-renovate\\n* Update alpine Docker tag to v3.18.5 (#79) @lunar-renovate\\n* Update actions/checkout action to v4 (#81) @lunar-renovate\\n* Update actions/setup-go action to v4 (#82) @lunar-renovate\\n* Update golang Docker tag to v1.21.3 (#76) @lunar-renovate\\n</details>\\n\\n**Full Changelog**: https://github.com/lunarway/humio_exporter/compare/v0.2.10...v0.2.11\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.2.11","tag_name":"v0.2.11","target_commitish":"refs/pull/92/merge"}',
request: { retryCount: 1 }
},
event: {
id: '7779264591',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4',
created_at: '2023-08-15T07:41:55Z',
description: 'Make the most of your money',
html_url: 'https://github.com/enterprises/lunar',
id: 66042,
name: 'Lunar',
node_id: 'E_k
|
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: '7779264591',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4',
created_at: '2023-08-15T07:41:55Z',
description: 'Make the most of your money',
html_url: 'https://github.com/enterprises/lunar',
id: 66042,
name: 'Lunar',
node_id: 'E_kgDOAAEB-g',
slug: 'lunar',
updated_at: '2023-08-25T15:51:52Z',
website_url: 'https://lunar.app'
},
number: 92,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4',
description: 'Make the most of your money',
events_url: 'https://api.github.com/orgs/lunarway/events',
hooks_url: 'https://api.github.com/orgs/lunarway/hooks',
id: 29371397,
issues_url: 'https://api.github.com/orgs/lunarway/issues',
login: 'lunarway',
members_url: 'https://api.github.com/orgs/lunarway/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjI5MzcxMzk3',
public_members_url: 'https://api.github.com/orgs/lunarway/public_members{/member}',
repos_url: 'https://api.github.com/orgs/lunarway/repos',
url: 'https://api.github.com/orgs/lunarway'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/issues/92/comments'
},
commits: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/92/commits'
},
html: {
href: 'https://github.com/lunarway/humio_exporter/pull/92'
},
issue: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/issues/92'
},
review_comment: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/92/comments'
},
self: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/92'
},
statuses: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/statuses/30719e6813004a9b69c8e31a01592ef0cd69c59a'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'lunarway:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/lunarway/humio_exporter/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/lunarway/humio_exporter/assignees{/user}',
blobs_url: 'https://api.github.com/repos/lunarway/humio_exporter/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/lunarway/humio_exporter/branches{/branch}',
clone_url: 'https://github.com/lunarway/humio_exporter.git',
collaborators_url: 'https://api.github.com/repos/lunarway/humio_exporter/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/lunarway/humio_exporter/comments{/number}',
commits_url: 'https://api.github.com/repos/lunarway/humio_exporter/commits{/sha}',
|