fix(client): production issues #566
release-drafter.yml
on: pull_request
update_release_draft
8s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9830120938',
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: 'Sun, 07 Jul 2024 20:32:46 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': 'EA40:10596F:952D4AB:97222BD:668AFB6E',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4952',
'x-ratelimit-reset': '1720385392',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '48',
'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: 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: query all boolean schema (#223) @Jayllyz\\n* fix: don't redirect on activities (#219) @userMeh\\n* fix: hydration issue in members space (#218) @Jayllyz\\n* fix: patch dark mode for footer (#216) @Metololo\\n* fix: navbar btn variants (#212) @Jayllyz\\n* fix: comments delete cascade (#210) @Jayllyz\\n* fix: reports database issue (#209) @Jayllyz\\n* fix(edm): update ui accessibility (#205) @Jayllyz\\n* fix: activities with new database schema (#202) @userMeh\\n\\n## 🧰 Maintenance\\n\\n* test: Improve code coverage (#208) @Jayllyz\\n* ci: add api code coverage (#207) @Jayllyz\\n* chore(deps): bump docker/build-push-action from 5 to 6 in the github-actions group (#197) @dependabot\\n","draft":true,"prerelease":false,"make_latest":"true"
|
update_release_draft
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: '9830120938',
name: 'pull_request',
payload: {
action: 'opened',
number: 230,
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/230/comments'
},
commits: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/230/commits'
},
html: { href: 'https://github.com/Athlonix/athlonix/pull/230' },
issue: {
href: 'https://api.github.com/repos/Athlonix/athlonix/issues/230'
},
review_comment: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/230/comments'
},
self: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/230'
},
statuses: {
href: 'https://api.github.com/repos/Athlonix/athlonix/statuses/db766cae266c3d893a64623c17ef2a3c4b2e0b97'
}
},
active_lock_reason: null,
additions: 21,
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',
id: 16305216,
login: 'Jayllyz',
node_id: 'MDQ6VXNlcjE2MzA1MjE2',
organizations_
|