feat: Enhance elevate access logic to consider expiration within 1 day #247
release-drafter.yml
on: pull_request
Release Drafter
11s
Annotations
2 errors and 4 warnings
|
Release Drafter
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6.2.0/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6.2.0/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '21395558461',
name: 'pull_request',
payload: {
action: 'opened',
number: 74,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/issues/74/comments'
},
commits: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/74/commits'
},
html: {
href: 'https://github.com/perosb/qvantum_custom_component/pull/74'
},
issue: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/issues/74'
},
review_comment: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/74/comments'
},
self: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/74'
},
statuses: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/statuses/65cb2707518129ac0aa9206b2b2ecb21f9c30e73'
}
},
active_lock_reason: null,
additions: 169,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'perosb:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/assignees{/user}',
blobs_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/branches{/branch}',
clone_url: 'https://github.com/perosb/qvantum_custom_component.git',
collaborators_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/comments{/number}',
commits_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/commits{/sha}',
compare_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/contents/{+path}',
contributors_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/contributors',
created_at: '2025-03-08T09:34:34Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/deployments',
description: 'Qvantum Exhaust Air Heat Pump Integration for Home Assistant',
disabled: false,
downloads_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/downloads',
events_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/events',
fork: false,
forks: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/perosb/qvantum_custom_component/forks',
full_name: 'per
|
|
Release Drafter
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '21395558461',
status: 422,
response: {
url: 'https://api.github.com/repos/perosb/qvantum_custom_component/releases',
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',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 27 Jan 2026 11:33:11 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; contents=write,workflows=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': 'BC43:1CB88:4A01:15019:6978A277',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4993',
'x-ratelimit-reset': '1769517188',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/perosb/qvantum_custom_component/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.6 (linux; x64)',
'x-github-delivery': '21395558461',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/pull/74/merge","name":"2026.1.5-pre.7d4fc32","tag_name":"2026.1.5-pre.7d4fc32","body":"# What's Changed\\n\\n\\n\\n\\n> [!CAUTION]\\n>Uses the same internal API for all metrics that is also used by the app.\\n>This API pulls live metrics from FLVP.\\n>Use at your own risk ;)\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '21395558461',
name: 'pull_request',
payload: {
action: 'opened',
number: 74,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/issues/74/comments'
},
commits: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/74/commits'
},
html: {
href: 'https://github.com/perosb/qvantum_custom_component/pull/74'
},
issue: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/issues/74'
},
review_comment: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/74/comments'
},
self: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/pulls/74'
},
statuses: {
href: 'https://api.github.com/repos/perosb/qvantum_custom_component/statuses/65cb2707518129ac0aa9206b2b2ecb21f9c30e73'
}
},
active_lock_reason: null,
additions: 169,
assignee: null,
assignees
|
|
Release Drafter
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Release Drafter
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Release Drafter
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Release Drafter
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|