style: format code with Prettier and StandardJS #442
Annotations
2 errors
Run release-drafter/release-drafter@v6
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10762399930',
status: 422,
response: {
url: 'https://api.github.com/repos/warmachine028/memories/releases/173320309',
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, 08 Sep 2024 19:05: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': 'DC47:281893:296F906:4F6B62D:66DDF597',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4975',
'x-ratelimit-reset': '1725825814',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '25',
'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/warmachine028/memories/releases/173320309',
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":"## Changes\\n\\n- ci: update client/.deepsource.toml @deepsource-autofix (#187)\\n- ci: add client/.deepsource.toml @deepsource-autofix (#183)\\n\\n## 🧰 Maintenance\\n\\n- Bump eslint from 9.9.1 to 9.10.0 in /client @dependabot (#179)\\n- Bump redux and redux-thunk in /client @dependabot (#156)\\n- Bump react-redux from 8.1.3 to 9.1.2 in /client @dependabot (#142)\\n- Bump mongoose from 8.6.0 to 8.6.1 in /server @dependabot (#178)\\n- Bump nodemailer from 6.9.14 to 6.9.15 in /server @dependabot (#177)\\n- Bump vite from 5.4.2 to 5.4.3 in /client @dependabot (#176)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.7 🌈","tag_name":"v0.1.7","target_commitish":"refs/pull/189/merge"}',
request: {}
},
event: {
id: '10762399930',
name: 'pull_request',
payload: {
action: 'opened',
number: 189,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/warmachine028/memories/issues/189/comments'
},
commits: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/189/commits'
},
html: {
href: 'https://github.com/warmachine028/memories/pull/189'
},
issue: {
href: 'https://api.github.com/repos/warmachine028/memories/issues/189'
},
review_comment: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/189/comments'
},
self: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/189'
},
|
Run release-drafter/release-drafter@v6
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/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/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10762399930',
name: 'pull_request',
payload: {
action: 'opened',
number: 189,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/warmachine028/memories/issues/189/comments'
},
commits: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/189/commits'
},
html: {
href: 'https://github.com/warmachine028/memories/pull/189'
},
issue: {
href: 'https://api.github.com/repos/warmachine028/memories/issues/189'
},
review_comment: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/189/comments'
},
self: {
href: 'https://api.github.com/repos/warmachine028/memories/pulls/189'
},
statuses: {
href: 'https://api.github.com/repos/warmachine028/memories/statuses/cc6419da54dd1ffb5321055ebdc66a4fd990c6ce'
}
},
active_lock_reason: null,
additions: 2009,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'warmachine028:feature/new-layout',
ref: 'feature/new-layout',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/warmachine028/memories/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/warmachine028/memories/assignees{/user}',
blobs_url: 'https://api.github.com/repos/warmachine028/memories/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/warmachine028/memories/branches{/branch}',
clone_url: 'https://github.com/warmachine028/memories.git',
collaborators_url: 'https://api.github.com/repos/warmachine028/memories/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/warmachine028/memories/comments{/number}',
commits_url: 'https://api.github.com/repos/warmachine028/memories/commits{/sha}',
compare_url: 'https://api.github.com/repos/warmachine028/memories/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/warmachine028/memories/contents/{+path}',
contributors_url: 'https://api.github.com/repos/warmachine028/memories/contributors',
created_at: '2022-01-09T08:32:02Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/warmachine028/memories/deployments',
description: 'A well refined project to store your valuable memories in a digital Diary',
disabled: false,
downloads_url: 'https://api.github.com/repos/warmachine028/memories/downloads',
events_url: 'https://api.github.com/repos/warmachine028/memories/events',
fork: false,
forks: 35,
forks_count: 35,
forks_url: 'https://api.github.com/repos/warmachine028/memories/forks',
full_name: 'warmachine028/memories',
git_commits_url: 'https://api.github.com/repos/warmachine028/memories/git/commits{/sha}',
git_refs_url:
|
Loading