refactor: fix eslint issues #24
Annotations
3 errors
Resource not accessible by integration
{
name: 'HttpError',
id: '9577282376',
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: 'Wed, 19 Jun 2024 06:32:14 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': '3496:33A363:2174AC5:384DFEA:66727B6E',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1718782333',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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: '9577282376',
name: 'pull_request',
payload: {
action: 'opened',
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/3bfda85545fe578a44cb77f12df18d7b3a6d08fb'
}
},
active_lock_reason: null,
additions: 18,
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
|
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9577282376',
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: 'Wed, 19 Jun 2024 06:32:15 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': '3497:2AB1CC:20CC52A:3736CB2:66727B6F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1718782333',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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: 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### 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<details>\\n<summary>2 changes</summary>\\n\\n- feat: revert dev dependencies to enable eslint linting @aamirazad ([#16](https://github.com/aamirazad/homelab-connector/pull/16))\\n- Get up to date with main @aamirazad ([#11](https://github.com/aamirazad/homelab-connector/pull/11))\\n</details>\\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: '9577282376',
name: 'pull_request',
payload: {
action: 'opened',
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/aamiraz
|
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: '9577282376',
name: 'pull_request',
payload: {
action: 'opened',
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/3bfda85545fe578a44cb77f12df18d7b3a6d08fb'
}
},
active_lock_reason: null,
additions: 18,
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 together',
disabled: false,
downloads_url: 'https://api.github.com/repos/aamirazad/homelab-connector/do
|
This job succeeded
Loading