Skip to content

refactor: fix eslint issues #39

refactor: fix eslint issues

refactor: fix eslint issues #39

Triggered via pull request June 22, 2024 08:45
Status Success
Total duration 18s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
9s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

3 errors
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '9624256271', 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 08:45:16 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': 'DCE5:24ECF5:77156F8:78145B8:66768F1C', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4992', 'x-ratelimit-reset': '1719049186', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '8', '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: '9624256271', name: 'pull_request', payload: { action: 'synchronize', after: 'd3516d1b810b0798716cbe0c2ba76bda59bd9f54', before: '97e4fa175fa5c86078711ae8c54d8fc484f23811', 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/d3516d1b810b0798716cbe0c2ba76bda59bd9f54' } }, active_lock_reason: null, additions: 6, 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: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_bran
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '9624256271', 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 08:45:20 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': 'DCE7:3BAE5:7490599:758F3EF:66768F20', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4991', 'x-ratelimit-reset': '1719049186', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '9', '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: separate user config @aamirazad ([#18](https://github.com/aamirazad/homelab-connector/pull/18))\\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: '9624256271', name: 'pull_request', payload: { action: 'synchronize', after: 'd3516d1b810b0798716cbe0c2ba76bda59bd9f54', before: '97e4fa175fa5c86078711ae8c54d8fc484f23811', number: 19, pull_request: { _links: {
update_release_draft
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: '9624256271', name: 'pull_request', payload: { action: 'synchronize', after: 'd3516d1b810b0798716cbe0c2ba76bda59bd9f54', before: '97e4fa175fa5c86078711ae8c54d8fc484f23811', 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/d3516d1b810b0798716cbe0c2ba76bda59bd9f54' } }, active_lock_reason: null, additions: 6, 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: 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: true, deployments_url: 'https://api.github.com/repos/aamirazad/homelab-connector/deployments', description: 'Connects popular homelab services together', disabled: false, downloads_u