fix: translate and improve how informations are displayed #664
release-drafter.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10011112558',
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: 'Fri, 19 Jul 2024 16:16:45 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': 'B130:17CEC4:32A46A0:333B3E7:669A916D',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4962',
'x-ratelimit-reset': '1721407649',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '38',
'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(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: create assembly with empty description (#264) @userMeh\\n* fix: have a table cell even without frequency (#261) @userMeh\\n* fix: tournament l
|
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: '10011112558',
name: 'pull_request',
payload: {
action: 'opened',
number: 266,
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/266/comments'
},
commits: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/266/commits'
},
html: { href: 'https://github.com/Athlonix/athlonix/pull/266' },
issue: {
href: 'https://api.github.com/repos/Athlonix/athlonix/issues/266'
},
review_comment: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/266/comments'
},
self: {
href: 'https://api.github.com/repos/Athlonix/athlonix/pulls/266'
},
statuses: {
href: 'https://api.github.com/repos/Athlonix/athlonix/statuses/6bade544d0e1341ca9ce8cd26b754a7b610dd3d0'
}
},
active_lock_reason: null,
additions: 16,
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
|