fix: undefined id and disable button when no mats #689
Annotations
2 errors
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10020956597',
status: 422,
response: {
url: 'https://api.github.com/repos/Athlonix/athlonix/releases/160263613',
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: 'Sat, 20 Jul 2024 14:33:07 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': 'BDB8:3D0768:6B698A2:6CD3385:669BCAA3',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4989',
'x-ratelimit-reset': '1721489541',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '11',
'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/Athlonix/athlonix/releases/160263613',
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":"## Changelog - Athlonix 📝\\n\\n## 🚀 Features\\n\\n* feat: add some public images for donate & about us page (#269) @Jayllyz\\n* feat(client): request your latest invoice (#265) @Jayllyz\\n* feat(client): Send email to confirm newsletter subscription (#263) @Jayllyz\\n* feat: Add election system when closing assembly (#259) @Jayllyz\\n* feat: refactor and image for tournaments (#256) @userMeh\\n* feat(client): add page to view current, next, or past ga (#249) @Jayllyz\\n* feat: images activities (#244) @userMeh\\n* feat: moved tournaments/activities to members (#241) @userMeh\\n* feat: setup resend (#235) @Jayllyz\\n* feat: realtime messages (#233) @userMeh\\n* feat: enchanced votes with turn for polls (#224) @userMeh\\n* feat: messages api & client page (#229) @Jayllyz\\n* feat: setup shadcn charts (#225) @Jayllyz\\n* feat: votes with sockets (#222) @userMeh\\n* feat: create loading component (#221) @Jayllyz\\n* feat(client): add Hierarchy page (#220) @Jayllyz\\n* feat: add check member middleware (#217) @Jayllyz\\n* feat: activities details (#215) @userMeh\\n* feat: add chatbot functionnality (#214) @Metololo\\n* feat: add statistic route & page (#213) @Jayllyz\\n* test: missing features (#211) @Jayllyz\\n* feat(client): add footer (#206) @Jayllyz\\n* feat(client): rework edm page ui (#203) @Jayllyz\\n* feat: tournament list and page (#198) @userMeh\\n* feat(admin): create and upload files in folder + improve UX (#195) @Jayllyz\\n* feat: add occurence data to get activities route (#196) @Metololo\\n* feat: add route to get tasks from an activity (#186) @Metololo\\n* feat(admin): Add members to Assembly using QRCode (#194) @Jayllyz\\n\\n## 🐛 Bug Fixes\\n\\n* fix(admin): tournaments form issues (#277) @Jayllyz\\n* fix(admin): add
|
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/jayllyz/github/actions-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/jayllyz/github/actions-runner/_work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10020956597',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '31fcb75efe3fa89cae91eed0d3fb6f53136348fd',
before: '2d5209fc958d79b87f59cfc1a15b3d721a6fafcf',
number: 274,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/164393589?v=4',
description: '',
events_url: 'https://api.github.com/orgs/Athlonix/events',
hooks_url: 'https://api.github.com/orgs/Athlonix/hooks',
id: 164393589,
issues_url: 'https://api.github.com/orgs/Athlonix/issues',
login: 'Athlonix',
members_url: 'https://api.github.com/orgs/Athlonix/members{/member}',
node_id: 'O_kgDOCcxydQ',
public_members_url: 'https://api.github.com/orgs/Athlonix/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Athlonix/repos',
url: 'https://api.github.com/orgs/Athlonix'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Athlonix/athlonix/issues/274/comments'
},
commits: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/274/commits'
},
html: { href: 'https://github.com/Athlonix/athlonix/pull/274' },
issue: {
href: 'https://api.github.com/repos/Athlonix/athlonix/issues/274'
},
review_comment: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/274/comments'
},
self: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/274'
},
statuses: {
href: 'https://api.github.com/repos/Athlonix/athlonix/statuses/31fcb75efe3fa89cae91eed0d3fb6f53136348fd'
}
},
active_lock_reason: null,
additions: 162,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/16305216?v=4',
events_url: 'https://api.github.com/users/Jayllyz/events{/privacy}',
followers_url: 'https://api.github.com/users/Jayllyz/followers',
following_url: 'https://api.github.com/users/Jayllyz/following{/other_user}',
gists_url: 'https://api.github.com/users/Jayllyz/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Jayllyz',
id: 16305216,
login: 'Jayllyz',
node_id: 'MDQ6VXNlcjE2MzA1MjE2',
organizations_url: 'https://api.github.com/users/Jayllyz/orgs',
received_events_url: 'https://api.github.com/users/Jayllyz/received_events',
repos_url: 'https://api.github.com/users/Jayllyz/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/Jayllyz/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/Jayllyz/subscriptions',
type: 'User',
url: 'https://api.github.com/users/Jayllyz'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/16305216?v=4',
events_url: 'https://api.github.com/users/Jayllyz/events{/privacy}',
followers_url: 'https://api.github.com/users/Jayllyz/followers',
following_url: 'https://api.github.com/users/Jayllyz/following{/other_user}',
gists_url: 'https://api.github.com/users/Jayllyz/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Jayllyz',
|
This job succeeded
Loading