fix: ensure we check names using the full UTF-8 character set. #128
release-drafter.yml
on: pull_request
stale
/
update_release_draft
4s
Annotations
2 errors
stale / update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9788381907',
status: 422,
response: {
url: 'https://api.github.com/repos/homebridge/HAP-NodeJS/releases/161837753',
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, 04 Jul 2024 04:12:20 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': '5049:2E3CB:3E6657D:7267D22:66862124',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4969',
'x-ratelimit-reset': '1720066954',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '31',
'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/homebridge/HAP-NodeJS/releases/161837753',
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":"## Other Changes\\n- Implement warning messages for invalid characters in names @NorthernMan54 [#1009]\\n- Mitigate event emitter \\"memory leak\\" warnings when a significant number of camera streaming events occur simultaneously. @hjdhjd [#1037]\\n\\n## Bug Fixes\\n\\n- Minor fixes to recording logging and one change in logging. @hjdhjd [#1040]\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.12.3","tag_name":"v0.12.3","target_commitish":"refs/pull/1052/merge"}',
request: { retryCount: 1 }
},
event: {
id: '9788381907',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '122eef01e0865d672e1e8e4242abc4b1c3d345bf',
before: 'b909b034a384ed4979ced7bc7fc2e15894a0e963',
number: 1052,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/38217527?v=4',
description: 'HomeKit support for the impatient.',
events_url: 'https://api.github.com/orgs/homebridge/events',
hooks_url: 'https://api.github.com/orgs/homebridge/hooks',
id: 38217527,
issues_url: 'https://api.github.com/orgs/homebridge/issues',
login: 'homebridge',
members_url: 'https://api.github.com/orgs/homebridge/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM4MjE3NTI3',
public_members_url: 'https://api.github.com/orgs/homebridge/public_members{/member}',
repos_url: 'https://api.github.com/orgs/homebridge/repos',
url: 'https://api.github.com/orgs/homebridge'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/issues/1052/comments'
},
commits: {
href: 'https://api.git
|
stale / 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: '9788381907',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '122eef01e0865d672e1e8e4242abc4b1c3d345bf',
before: 'b909b034a384ed4979ced7bc7fc2e15894a0e963',
number: 1052,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/38217527?v=4',
description: 'HomeKit support for the impatient.',
events_url: 'https://api.github.com/orgs/homebridge/events',
hooks_url: 'https://api.github.com/orgs/homebridge/hooks',
id: 38217527,
issues_url: 'https://api.github.com/orgs/homebridge/issues',
login: 'homebridge',
members_url: 'https://api.github.com/orgs/homebridge/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM4MjE3NTI3',
public_members_url: 'https://api.github.com/orgs/homebridge/public_members{/member}',
repos_url: 'https://api.github.com/orgs/homebridge/repos',
url: 'https://api.github.com/orgs/homebridge'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/issues/1052/comments'
},
commits: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/pulls/1052/commits'
},
html: {
href: 'https://github.com/homebridge/HAP-NodeJS/pull/1052'
},
issue: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/issues/1052'
},
review_comment: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/pulls/1052/comments'
},
self: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/pulls/1052'
},
statuses: {
href: 'https://api.github.com/repos/homebridge/HAP-NodeJS/statuses/122eef01e0865d672e1e8e4242abc4b1c3d345bf'
}
},
active_lock_reason: null,
additions: 16,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: '',
commit_title: 'fix: ensure we check names using the full UTF-8 character set. (#1052)',
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/20155129?v=4',
events_url: 'https://api.github.com/users/hjdhjd/events{/privacy}',
followers_url: 'https://api.github.com/users/hjdhjd/followers',
following_url: 'https://api.github.com/users/hjdhjd/following{/other_user}',
gists_url: 'https://api.github.com/users/hjdhjd/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/hjdhjd',
id: 20155129,
login: 'hjdhjd',
node_id: 'MDQ6VXNlcjIwMTU1MTI5',
organizations_url: 'https://api.github.com/users/hjdhjd/orgs',
received_events_url: 'https://api.github.com/users/hjdhjd/received_events',
repos_url: 'https://api.github.com/users/hjdhjd/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/hjdhjd/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/hjdhjd/subscriptions',
type: 'User',
url: 'https://api.github.com/users/hjdhjd'
},
merge_method: 'squash'
},
base: {
label: 'homebridge:latest',
ref: 'latest',
repo: {
allow_auto_merge: true,
|