fix: code warnings (lint) #2924
Annotations
2 errors and 1 warning
🚀 Run Release Drafter
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12257873575',
status: 422,
response: {
url: 'https://api.github.com/repos/mealie-recipes/mealie/releases/187781843',
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: 'Tue, 10 Dec 2024 14:09:59 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': '3B87:1A4B1D:36518A7:3749177:67584BB7',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4912',
'x-ratelimit-reset': '1733842563',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '88',
'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/mealie-recipes/mealie/releases/187781843',
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":"# 🍴🍴🍴🍴🍴🍴\\n\\n## 🎉 Highlights\\n\\n- Highlight 1\\n\\n- Highlight 2\\n\\n## ✨ New features\\n\\n- feat: Recipe Finder (aka Cocktail Builder) @michael-genson (#4542)\\n- feat: Move alembic config into mealie package for easier distribution @chishm (#4329)\\n- feat: Upgrade to Python 3.12 @michael-genson (#4675)\\n- feat: Add 'No Shopping Lists Found' message @niteflyunicorns (#4661)\\n\\n## 🐛 Bug fixes\\n\\n- fix: Improve UX for new households/users @michael-genson (#4653)\\n- fix: Cocktail Builder Enhancements @michael-genson (#4672)\\n- fix: Meal Plan Notes allow Submission Without Title/Note Text @Arshad561 (#4615)\\n- fix: remove import button from recipe data view @hay-kot (#4680)\\n\\n## 🧰 Maintenance\\n\\n- chore(auto): Update pre-commit hooks @github-actions (#4657)\\n- chore(auto): Update pre-commit hooks @github-actions (#4697)\\n\\n## 📚 Documentation\\n\\n- docs(auto): Update image tag, for release v2.3.0 @github-actions (#4617)\\n- docs: Update authelia link in oidc.md @eyko139 (#4654)\\n\\n## ⬆️ Dependency updates\\n\\n<details>\\n<summary>25 changes</summary>\\n\\n- fix(deps): update dependency openai to v1.55.2 @renovate (#4618)\\n- fix(deps): update dependency pyjwt to v2.10.1 @renovate (#4620)\\n- fix(deps): update dependency pydantic to v2.10.2 @renovate (#4588)\\n- fix(deps): update dependency orjson to v3.10.12 @renovate (#4601)\\n- fix(deps): update dependency httpx to ^0.28.0 @renovate (#4621)\\n- fix(deps): update dependency openai to v1.55.3 @renovate (#4622)\\n- fix(deps): update dependency python-multipart to ^0.0.18 @renovate (#4623)\\n- chore(deps): update dependency ruff to v0.8.1 @renovate (#4624)\\n- fix(deps): update dependency pillow-heif to ^0.21.0 @renovate (#4625)\\n- fix(deps):
|
🚀 Run Release Drafter
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12257873575',
name: 'pull_request',
payload: {
action: 'opened',
number: 4704,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/92342333?v=4',
description: '',
events_url: 'https://api.github.com/orgs/mealie-recipes/events',
hooks_url: 'https://api.github.com/orgs/mealie-recipes/hooks',
id: 92342333,
issues_url: 'https://api.github.com/orgs/mealie-recipes/issues',
login: 'mealie-recipes',
members_url: 'https://api.github.com/orgs/mealie-recipes/members{/member}',
node_id: 'O_kgDOBYEIPQ',
public_members_url: 'https://api.github.com/orgs/mealie-recipes/public_members{/member}',
repos_url: 'https://api.github.com/orgs/mealie-recipes/repos',
url: 'https://api.github.com/orgs/mealie-recipes'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/issues/4704/comments'
},
commits: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/pulls/4704/commits'
},
html: {
href: 'https://github.com/mealie-recipes/mealie/pull/4704'
},
issue: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/issues/4704'
},
review_comment: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/pulls/4704/comments'
},
self: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/pulls/4704'
},
statuses: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/statuses/097c98b8ecd86a0e9ccb92d38a92f594627c491d'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'mealie-recipes:mealie-next',
ref: 'mealie-next',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/mealie-recipes/mealie/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/mealie-recipes/mealie/assignees{/user}',
blobs_url: 'https://api.github.com/repos/mealie-recipes/mealie/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/mealie-recipes/mealie/branches{/branch}',
clone_url: 'https://github.com/mealie-recipes/mealie.git',
collaborators_url: 'https://api.github.com/repos/mealie-recipes/mealie/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/mealie-recipes/mealie/comments{/number}',
commits_url: 'https://api.github.com/repos/mealie-recipes/mealie/commits{/sha}',
compare_url: 'https://api.github.com/repos/mealie-recipes/mealie/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/mealie-recipes/mealie/contents/{+path}',
contributors_url: 'https://api.github.com/repos/mealie-recipes/mealie/contributors',
created_at: '2020-12-07T01:04:17Z',
default_branch: 'mealie-next',
delete_branch_on_merge: true,
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading