dev: fix GH Actions node deprecation #1369
release-drafter.yml
on: pull_request
✏️ Draft release
9s
Annotations
2 errors
✏️ Draft release
Resource not accessible by integration
{
name: 'HttpError',
id: '11417281657',
status: 403,
response: {
url: 'https://api.github.com/repos/mealie-recipes/mealie/releases',
status: 403,
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-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sat, 19 Oct 2024 11:48:00 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
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': 'D101:17C1EE:29A883:51C297:67139C70',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4807',
'x-ratelimit-reset': '1729338686',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '193',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/mealie-recipes/mealie/releases',
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: `{"target_commitish":"refs/heads/mealie-next","name":"v2.0.0","tag_name":"v2.0.0","body":"# 🍴🍴🍴🍴🍴🍴\\n\\n## 🎉 Highlights\\n\\n- Highlight 1\\n\\n- Highlight 2\\n\\n## 🚨 Breaking changes\\n\\n- feat: Add Households to Mealie @michael-genson (#3970)\\n- feat: Added feature to limit mealplan data by date range @vshulcz (#4111)\\n- feat: Use Backend for Recipe Post Actions @michael-genson (#4163)\\n- feat: Create Recipe From HTML or JSON @michael-genson (#4274)\\n- feat: Add OIDC_CLIENT_SECRET and other changes for v2 @cmintey (#4254)\\n- feat: User Tooltip @michael-genson (#4319)\\n- feat: Query Filter Builder for Cookbooks and Meal Plans @michael-genson (#4346)\\n\\n## ✨ New features\\n\\n- feat: Change OpenAI Image Format to JPG @michael-genson (#4117)\\n- feat: Cross-Household Recipes @michael-genson (#4089)\\n- feat: Reorder ShoppingListItemEditor @Kuchenpirat (#4200)\\n- feat: Use Backend for Recipe Post Actions @michael-genson (#4163)\\n- feat: Allow Cookbooks To Share Names @michael-genson (#4186)\\n- feat: Additional Household Permissions @michael-genson (#4158)\\n- feat: Shopping list UI overhaul - increase list item width @Wetzel402 (#4237)\\n- feat: Shopping list UI overhaul - label sorted by default @Wetzel402 (#4238)\\n- feat: Filter Recipes By Household (and a ton of bug fixes) @michael-genson (#4207)\\n- feat: OpenAI Custom Headers/Params and Debug Page @michael-genson (#4227)\\n- feat: Shopping list UI overhaul - add label headings per category @Wetzel402 (#4235)\\n- feat: sort labels by name,asc in shopping lists @seamuslowry (#4253)\\n- feat: add regex to url before scraping @jlssmt (#4174)\\n- feat: Add Household Filter to Meal Plan Rules @michael-genson (#4231)\\n- feat: Shopping list UI overhaul - add wakelock @Wetzel402 (#4236)\\n- feat: Create Recipe From HTML or JSON @michael-genson (#4274)\\n- feat: refactor recipe
|
✏️ Draft release
HttpError: Resource not accessible by integration
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: '11417281657',
name: 'pull_request',
payload: {
action: 'unlabeled',
label: {
color: '580F7A',
default: false,
description: '',
id: 7417644865,
name: 'bugfix',
node_id: 'LA_kwDOEwYbgs8AAAABuiBHQQ',
url: 'https://api.github.com/repos/mealie-recipes/mealie/labels/bugfix'
},
number: 4306,
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/4306/comments'
},
commits: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/pulls/4306/commits'
},
html: {
href: 'https://github.com/mealie-recipes/mealie/pull/4306'
},
issue: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/issues/4306'
},
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/4306/comments'
},
self: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/pulls/4306'
},
statuses: {
href: 'https://api.github.com/repos/mealie-recipes/mealie/statuses/f14b13679b306c66937c6a188d5abfdf411d793d'
}
},
active_lock_reason: null,
additions: 9,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: '',
commit_title: 'fix: GH Actions node deprecation (#4306)',
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/3479092?v=4',
events_url: 'https://api.github.com/users/boc-the-git/events{/privacy}',
followers_url: 'https://api.github.com/users/boc-the-git/followers',
following_url: 'https://api.github.com/users/boc-the-git/following{/other_user}',
gists_url: 'https://api.github.com/users/boc-the-git/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/boc-the-git',
id: 3479092,
login: 'boc-the-git',
node_id: 'MDQ6VXNlcjM0NzkwOTI=',
organizations_url: 'https://api.github.com/users/boc-the-git/orgs',
received_events_url: 'https://api.github.com/users/boc-the-git/received_events',
repos_url: 'https://api.github.com/users/boc-the-git/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/boc-the-git/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/boc-the-git/subscriptions',
type: 'User',
url: 'https://api.github.com/users/boc-the-git',
user_view_type: 'public'
},
merge_m
|