Fix setting config_entry directly in ≥2024.12 #953
release-drafter.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12575869174',
status: 422,
response: {
url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/releases/192867659',
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, 02 Jan 2025 00:41:16 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': 'BC40:2A769D:821E20:103E98E:6775E0AC',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4937',
'x-ratelimit-reset': '1735781686',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '63',
'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/basnijholt/adaptive-lighting/releases/192867659',
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* Translations update from Hosted Weblate (#1153) @weblate\\n* docs: add enpaga as a contributor for translation (#1156) @allcontributors\\n* Add HA `2025.1.0b5` to testing (#1154) @basnijholt\\n* Use `markdown-code-runner==2.1.0` (#1152) @basnijholt\\n* use `uv`, fix `devcontainer`, and drop support for HA ≤2023.6 (#1151) @basnijholt\\n\\n**Full Changelog**: https://github.com/basnijholt/adaptive-lighting/compare/v1.24.0...v1.24.1\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-b5abcaae183f221f05c9","target_commitish":"refs/pull/1155/merge"}',
request: {}
},
event: {
id: '12575869174',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '3d1804e921ed1ef5e24f4627c75bb12c6c0597d0',
before: 'b9a4f1482871171b7d99f5b15ed442fe9de4de90',
number: 1155,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/issues/1155/comments'
},
commits: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/1155/commits'
},
html: {
href: 'https://github.com/basnijholt/adaptive-lighting/pull/1155'
},
issue: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/issues/1155'
},
review_comment: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/1155/comments'
},
self: {
href: 'https://api.github.c
|
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: '12575869174',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '3d1804e921ed1ef5e24f4627c75bb12c6c0597d0',
before: 'b9a4f1482871171b7d99f5b15ed442fe9de4de90',
number: 1155,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/issues/1155/comments'
},
commits: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/1155/commits'
},
html: {
href: 'https://github.com/basnijholt/adaptive-lighting/pull/1155'
},
issue: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/issues/1155'
},
review_comment: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/1155/comments'
},
self: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/pulls/1155'
},
statuses: {
href: 'https://api.github.com/repos/basnijholt/adaptive-lighting/statuses/3d1804e921ed1ef5e24f4627c75bb12c6c0597d0'
}
},
active_lock_reason: null,
additions: 10,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'basnijholt:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/assignees{/user}',
blobs_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/branches{/branch}',
clone_url: 'https://github.com/basnijholt/adaptive-lighting.git',
collaborators_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/comments{/number}',
commits_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/commits{/sha}',
compare_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/contents/{+path}',
contributors_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/contributors',
created_at: '2020-08-25T16:06:18Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/deployments',
description: 'Adaptive Lighting custom component for Home Assistant',
disabled: false,
downloads_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/downloads',
events_url: 'https://api.github.com/repos/basnijholt/adaptive-lighting/events',
fork: false,
forks: 144,
forks_count: 144,
forks_url: 'https://api.github.com/repos/basnijh
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|