refactor: fix eslint issues #37
Annotations
3 errors
Resource not accessible by integration
{
name: 'HttpError',
id: '9623130482',
status: 403,
response: {
url: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19/labels',
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, 22 Jun 2024 05:17:21 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': 'issues=write; pull_requests=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': '9416:123323:5E102CB:A58404D:66765E61',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4989',
'x-ratelimit-reset': '1719035665',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '11',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19/labels',
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: '{"labels":["bug","refactor","patch"]}',
request: {}
},
event: {
id: '9623130482',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '97e4fa175fa5c86078711ae8c54d8fc484f23811',
before: '3bfda85545fe578a44cb77f12df18d7b3a6d08fb',
number: 19,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/19/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/19'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19'
},
review_comment: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/19/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/19'
},
statuses: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/statuses/97e4fa175fa5c86078711ae8c54d8fc484f23811'
}
},
active_lock_reason: null,
additions: 163,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'aamirazad:06-19-feat_seperate_user_config',
ref: '06-19-feat_seperate_user_config',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
|
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9623130482',
status: 422,
response: {
url: 'https://api.github.com/repos/aamirazad/homelab-connector/releases/160686938',
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, 22 Jun 2024 05:17:22 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': '9417:2015BC:54ED26C:95A928E:66765E62',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4988',
'x-ratelimit-reset': '1719035665',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'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/aamirazad/homelab-connector/releases/160686938',
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":"## v0.1.0\\n\\n### Features\\n\\n- feat: revert dev dependencies to enable eslint linting @aamirazad ([#16](https://github.com/aamirazad/homelab-connector/pull/16))\\n- feat: top nav sign out behavior @aamirazad ([#14](https://github.com/aamirazad/homelab-connector/pull/14))\\n- feat: user profile dropdown \\\\& settings @aamirazad ([#12](https://github.com/aamirazad/homelab-connector/pull/12))\\n- feat: user setup page and flow @aamirazad ([#10](https://github.com/aamirazad/homelab-connector/pull/10))\\n- feat: create user table @aamirazad ([#7](https://github.com/aamirazad/homelab-connector/pull/7))\\n\\n### Performance Improvements\\n\\n- perf: set avatar image priority @aamirazad ([#17](https://github.com/aamirazad/homelab-connector/pull/17))\\n\\n### Bug Fixes\\n\\n- fix: add null checks to paperless document search @aamirazad ([#6](https://github.com/aamirazad/homelab-connector/pull/6))\\n\\n### Maintenance\\n\\n- refactor: rename setup route to settings @aamirazad ([#13](https://github.com/aamirazad/homelab-connector/pull/13))\\n\\n### All App Changes\\n\\n- Get up to date with main @aamirazad ([#11](https://github.com/aamirazad/homelab-connector/pull/11))\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0","tag_name":"v0.1.0","target_commitish":"refs/pull/19/merge"}',
request: { retryCount: 1 }
},
event: {
id: '9623130482',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '97e4fa175fa5c86078711ae8c54d8fc484f23811',
before: '3bfda85545fe578a44cb77f12df18d7b3a6d08fb',
number: 19,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19/comm
|
HttpError: Resource not accessible by integration
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)
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: '9623130482',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '97e4fa175fa5c86078711ae8c54d8fc484f23811',
before: '3bfda85545fe578a44cb77f12df18d7b3a6d08fb',
number: 19,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/19/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/19'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/19'
},
review_comment: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/19/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/19'
},
statuses: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/statuses/97e4fa175fa5c86078711ae8c54d8fc484f23811'
}
},
active_lock_reason: null,
additions: 163,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'aamirazad:06-19-feat_seperate_user_config',
ref: '06-19-feat_seperate_user_config',
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/aamirazad/homelab-connector/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/aamirazad/homelab-connector/assignees{/user}',
blobs_url: 'https://api.github.com/repos/aamirazad/homelab-connector/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/aamirazad/homelab-connector/branches{/branch}',
clone_url: 'https://github.com/aamirazad/homelab-connector.git',
collaborators_url: 'https://api.github.com/repos/aamirazad/homelab-connector/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/aamirazad/homelab-connector/comments{/number}',
commits_url: 'https://api.github.com/repos/aamirazad/homelab-connector/commits{/sha}',
compare_url: 'https://api.github.com/repos/aamirazad/homelab-connector/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/aamirazad/homelab-connector/contents/{+path}',
contributors_url: 'https://api.github.com/repos/aamirazad/homelab-connector/contributors',
created_at: '2024-05-31T01:30:53Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/aamirazad/homelab-connector/deployments',
description: 'Connects popular homelab services togeth
|
This job succeeded
Loading