chore: add note #131
release-drafter.yaml
on: pull_request
update-release-draft
8s
Annotations
2 errors and 1 warning
update-release-draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12196799997',
status: 422,
response: {
url: 'https://api.github.com/repos/tier4/t4-devkit/releases/188629685',
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: 'Fri, 06 Dec 2024 10:03:08 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': '5807:20E2CE:526CB06:A0D86A0:6752CBDC',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4982',
'x-ratelimit-reset': '1733482981',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/tier4/t4-devkit/releases/188629685',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"## What's Changed\\n\\n## 🚀 Features\\n\\n* feat: add translate and rotate methods (#60) @ktro2828\\n\\n## 🐛 Bug Fixes\\n\\n* fix: is_box_in_image function (#62) @ktro2828\\n* fix: resolve runtime error (#61) @ktro2828\\n\\n## 🔧 Refactoring\\n\\n* refactor: update Tier4 API to avoid runtime errors for irregular data (#64) @ktro2828\\n\\n## 🔎 Test\\n\\n* test: update unit testings for viewer (#63) @ktro2828\\n* fix: is_box_in_image function (#62) @ktro2828\\n* feat: add translate and rotate methods (#60) @ktro2828\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.0.6","tag_name":"v0.0.6","target_commitish":"refs/pull/65/merge"}`,
request: {}
},
event: {
id: '12196799997',
name: 'pull_request',
payload: {
action: 'opened',
number: 65,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/33653891?v=4',
description: '',
events_url: 'https://api.github.com/orgs/tier4/events',
hooks_url: 'https://api.github.com/orgs/tier4/hooks',
id: 33653891,
issues_url: 'https://api.github.com/orgs/tier4/issues',
login: 'tier4',
members_url: 'https://api.github.com/orgs/tier4/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMzNjUzODkx',
public_members_url: 'https://api.github.com/orgs/tier4/public_members{/member}',
repos_url: 'https://api.github.com/orgs/tier4/repos',
url: 'https://api.github.com/orgs/tier4'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/tier4/t4-devkit/issues/65/comments'
},
commits: {
href: 'https://api.github.com/repos/tier4/t4-devkit/pulls/65/commits'
|
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12196799997',
name: 'pull_request',
payload: {
action: 'opened',
number: 65,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/33653891?v=4',
description: '',
events_url: 'https://api.github.com/orgs/tier4/events',
hooks_url: 'https://api.github.com/orgs/tier4/hooks',
id: 33653891,
issues_url: 'https://api.github.com/orgs/tier4/issues',
login: 'tier4',
members_url: 'https://api.github.com/orgs/tier4/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMzNjUzODkx',
public_members_url: 'https://api.github.com/orgs/tier4/public_members{/member}',
repos_url: 'https://api.github.com/orgs/tier4/repos',
url: 'https://api.github.com/orgs/tier4'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/tier4/t4-devkit/issues/65/comments'
},
commits: {
href: 'https://api.github.com/repos/tier4/t4-devkit/pulls/65/commits'
},
html: { href: 'https://github.com/tier4/t4-devkit/pull/65' },
issue: {
href: 'https://api.github.com/repos/tier4/t4-devkit/issues/65'
},
review_comment: {
href: 'https://api.github.com/repos/tier4/t4-devkit/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/tier4/t4-devkit/pulls/65/comments'
},
self: {
href: 'https://api.github.com/repos/tier4/t4-devkit/pulls/65'
},
statuses: {
href: 'https://api.github.com/repos/tier4/t4-devkit/statuses/04f909e4eb8c9ac5a092233043b19cdbaf992f61'
}
},
active_lock_reason: null,
additions: 5,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'tier4:main',
ref: 'main',
repo: {
allow_auto_merge: false,
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/tier4/t4-devkit/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/tier4/t4-devkit/assignees{/user}',
blobs_url: 'https://api.github.com/repos/tier4/t4-devkit/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/tier4/t4-devkit/branches{/branch}',
clone_url: 'https://github.com/tier4/t4-devkit.git',
collaborators_url: 'https://api.github.com/repos/tier4/t4-devkit/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/tier4/t4-devkit/comments{/number}',
commits_url: 'https://api.github.com/repos/tier4/t4-devkit/commits{/sha}',
compare_url: 'https://api.github.com/repos/tier4/t4-devkit/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/tier4/t4-devkit/contents/{+path}',
contributors_url: 'https://api.github.com/repos/tier4/t4-devkit/contributors',
created_at: '2024-09-30T23:40:48Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/tier4/t4-devkit/deployments',
description: null,
disabled: false,
downloads_url: 'https://api.github.com/repos/tier4/t4-devkit/downloads',
|
update-release-draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|