refactor: remove unnecessary code #68
Annotations
3 errors
Resource not accessible by integration
{
name: 'HttpError',
id: '9644016212',
status: 403,
response: {
url: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29/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: 'Mon, 24 Jun 2024 10:47:52 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': '108E:24ECF5:FBBC8AD:FE142DE:66794ED8',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4968',
'x-ratelimit-reset': '1719227699',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '32',
'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/29/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":["refactor"]}',
request: {}
},
event: {
id: '9644016212',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2cbc1f348244d9faae0747efeaa21e9575bfe081',
before: '5b93130c49d95853ef0ac7a183968a9622623982',
number: 29,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/29/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/29'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29'
},
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/29/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/29'
},
statuses: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/statuses/2cbc1f348244d9faae0747efeaa21e9575bfe081'
}
},
active_lock_reason: null,
additions: 0,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'aamirazad:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
|
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9644016212',
status: 422,
response: {
url: 'https://api.github.com/repos/aamirazad/homelab-connector/releases/161781326',
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: 'Mon, 24 Jun 2024 10:47:53 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': '108F:5DC33:FF6867A:101C0040:66794ED9',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4967',
'x-ratelimit-reset': '1719227699',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '33',
'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/161781326',
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.2.0\\n\\n### Features\\n\\n- feat: use a tooltip/popover component @aamirazad ([#26](https://github.com/aamirazad/homelab-connector/pull/26))\\n- feat: remove full name settings question @aamirazad ([#22](https://github.com/aamirazad/homelab-connector/pull/22))\\n\\n### Style Improvements\\n\\n- style: make website look better on mobile @aamirazad ([#20](https://github.com/aamirazad/homelab-connector/pull/20))\\n\\n### Maintenance\\n\\n- refactor: fix eslint issues @aamirazad ([#28](https://github.com/aamirazad/homelab-connector/pull/28))\\n- ci: fix pr labeler @aamirazad ([#21](https://github.com/aamirazad/homelab-connector/pull/21))\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.2.0","tag_name":"v0.2.0","target_commitish":"refs/pull/29/merge"}',
request: { retryCount: 1 }
},
event: {
id: '9644016212',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2cbc1f348244d9faae0747efeaa21e9575bfe081',
before: '5b93130c49d95853ef0ac7a183968a9622623982',
number: 29,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/29/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/29'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29'
},
review_comment: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/comments{/number}'
},
review_co
|
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: '9644016212',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2cbc1f348244d9faae0747efeaa21e9575bfe081',
before: '5b93130c49d95853ef0ac7a183968a9622623982',
number: 29,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/29/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/29'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/29'
},
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/29/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/29'
},
statuses: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/statuses/2cbc1f348244d9faae0747efeaa21e9575bfe081'
}
},
active_lock_reason: null,
additions: 0,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'aamirazad:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
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: true,
deployments_url: 'https://api.github.com/repos/aamirazad/homelab-connector/deployments',
description: 'Connects popular homelab services together',
disabled: false,
downloads
|
This job succeeded
Loading