Introduce logging-derivation-annotations package. #1897
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: '10836707847',
status: 422,
response: {
url: 'https://api.github.com/repos/tofu-tf/tofu/releases/174503535',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 12 Sep 2024 18:35:40 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': '78CE:37DFA5:3DEA637:76EC7CE:66E3347C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4990',
'x-ratelimit-reset': '1726169623',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/tofu-tf/tofu/releases/174503535',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- Add Permit type like Semaphore @geny200 (#1330)\\n- fix: non-dummy writeMarker in Logging RepresentableK instance in Scala 3 @susliko (#1323)\\n- Improve English on microsite @i-am-the-slime (#1313)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Tofu 0.14.0","tag_name":"v0.14.0","target_commitish":"refs/pull/1333/merge"}',
request: {}
},
event: {
id: '10836707847',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '1e4222a01c832bbf0216f410aac02a06fad13d2e',
before: '8c9d9c0702bbe7d54957f4a3684ed2523db31553',
number: 1333,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/75310993?v=4',
description: 'tofu project support',
events_url: 'https://api.github.com/orgs/tofu-tf/events',
hooks_url: 'https://api.github.com/orgs/tofu-tf/hooks',
id: 75310993,
issues_url: 'https://api.github.com/orgs/tofu-tf/issues',
login: 'tofu-tf',
members_url: 'https://api.github.com/orgs/tofu-tf/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjc1MzEwOTkz',
public_members_url: 'https://api.github.com/orgs/tofu-tf/public_members{/member}',
repos_url: 'https://api.github.com/orgs/tofu-tf/repos',
url: 'https://api.github.com/orgs/tofu-tf'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/tofu-tf/tofu/issues/1333/comments'
},
commits: {
href: 'https://api.github.com/repos/tofu-tf/tofu/pulls/1333/commits'
},
html: { href: 'https://github.com/tofu-tf/tofu/pull/1333' },
issue: {
href: 'https://api.github.com/repos/tofu-tf
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10836707847',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '1e4222a01c832bbf0216f410aac02a06fad13d2e',
before: '8c9d9c0702bbe7d54957f4a3684ed2523db31553',
number: 1333,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/75310993?v=4',
description: 'tofu project support',
events_url: 'https://api.github.com/orgs/tofu-tf/events',
hooks_url: 'https://api.github.com/orgs/tofu-tf/hooks',
id: 75310993,
issues_url: 'https://api.github.com/orgs/tofu-tf/issues',
login: 'tofu-tf',
members_url: 'https://api.github.com/orgs/tofu-tf/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjc1MzEwOTkz',
public_members_url: 'https://api.github.com/orgs/tofu-tf/public_members{/member}',
repos_url: 'https://api.github.com/orgs/tofu-tf/repos',
url: 'https://api.github.com/orgs/tofu-tf'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/tofu-tf/tofu/issues/1333/comments'
},
commits: {
href: 'https://api.github.com/repos/tofu-tf/tofu/pulls/1333/commits'
},
html: { href: 'https://github.com/tofu-tf/tofu/pull/1333' },
issue: {
href: 'https://api.github.com/repos/tofu-tf/tofu/issues/1333'
},
review_comment: {
href: 'https://api.github.com/repos/tofu-tf/tofu/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/tofu-tf/tofu/pulls/1333/comments'
},
self: {
href: 'https://api.github.com/repos/tofu-tf/tofu/pulls/1333'
},
statuses: {
href: 'https://api.github.com/repos/tofu-tf/tofu/statuses/1e4222a01c832bbf0216f410aac02a06fad13d2e'
}
},
active_lock_reason: null,
additions: 58,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'tofu-tf:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/tofu-tf/tofu/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/tofu-tf/tofu/assignees{/user}',
blobs_url: 'https://api.github.com/repos/tofu-tf/tofu/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/tofu-tf/tofu/branches{/branch}',
clone_url: 'https://github.com/tofu-tf/tofu.git',
collaborators_url: 'https://api.github.com/repos/tofu-tf/tofu/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/tofu-tf/tofu/comments{/number}',
commits_url: 'https://api.github.com/repos/tofu-tf/tofu/commits{/sha}',
compare_url: 'https://api.github.com/repos/tofu-tf/tofu/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/tofu-tf/tofu/contents/{+path}',
contributors_url: 'https://api.github.com/repos/tofu-tf/tofu/contributors',
created_at: '2019-04-04T16:44:51Z',
default_branch: 'master',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/tofu-tf/tofu/deployments',
description: 'Functional
|