refactor: use ConfigType
instead of Config
#214
release-drafter.yml
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: '11601609706',
status: 422,
response: {
url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/releases/181235075',
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: 'Wed, 30 Oct 2024 21:03:50 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': '65C7:39B915:A3E15DD:13BA12E8:67229F35',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1730325827',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/firstof9/ha-gasbuddy/releases/181235075',
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":"[![Downloads for this release](https://img.shields.io/github/downloads/firstof9/ha-gasbuddy/1.0.16/total.svg)](https://github.com/firstof9/ha-gasbuddy/releases/1.0.16)\\n\\n## 💥 Breaking Change 💥\\n\\n- feat: library bump to handle cash prices reporting `0` as unavailable @firstof9 (#111)\\n\\n## ✨ New Features ✨\\n\\n- feat: library bump to handle cash prices reporting `0` as unavailable @firstof9 (#111)\\n\\n## 🔩 Dependency 🔩\\n\\n- chore(deps): bump tox from 4.23.0 to 4.23.1 @dependabot (#107)\\n- chore(deps): bump tox from 4.23.1 to 4.23.2 @dependabot (#108)\\n- chore(deps): bump mypy from 1.12.1 to 1.13.0 @dependabot (#109)\\n\\n## Links\\n- [Submit bugs/feature requests](https://github.com/firstof9/ha-gasbuddy/issues)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"1.0.16","tag_name":"1.0.16","target_commitish":"refs/pull/112/merge"}',
request: {}
},
event: {
id: '11601609706',
name: 'pull_request',
payload: {
action: 'opened',
number: 112,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/issues/112/comments'
},
commits: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/112/commits'
},
html: { href: 'https://github.com/firstof9/ha-gasbuddy/pull/112' },
issue: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/issues/112'
},
review_comment: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/112/comments'
|
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: '11601609706',
name: 'pull_request',
payload: {
action: 'opened',
number: 112,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/issues/112/comments'
},
commits: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/112/commits'
},
html: { href: 'https://github.com/firstof9/ha-gasbuddy/pull/112' },
issue: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/issues/112'
},
review_comment: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/112/comments'
},
self: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/pulls/112'
},
statuses: {
href: 'https://api.github.com/repos/firstof9/ha-gasbuddy/statuses/07e4dd0a5ae7075a237de435db10a70e50105239'
}
},
active_lock_reason: null,
additions: 3,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'firstof9:main',
ref: 'main',
repo: {
allow_auto_merge: false,
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/firstof9/ha-gasbuddy/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/assignees{/user}',
blobs_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/branches{/branch}',
clone_url: 'https://github.com/firstof9/ha-gasbuddy.git',
collaborators_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/comments{/number}',
commits_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/commits{/sha}',
compare_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/contents/{+path}',
contributors_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/contributors',
created_at: '2023-12-07T20:53:03Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/deployments',
description: 'Component to integrate with GasBuddy fuel price tracker.',
disabled: false,
downloads_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/downloads',
events_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/events',
fork: false,
forks: 3,
forks_count: 3,
forks_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/forks',
full_name: 'firstof9/ha-gasbuddy',
git_commits_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/firstof9/ha-gasbuddy/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/firstof9
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|