feat: user setup page and flow #6
release-drafter.yml
on: pull_request
update_release_draft
8s
Annotations
3 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '9535462062',
status: 403,
response: {
url: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10/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: 'Sun, 16 Jun 2024 11:02:40 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': '0BC6:8B82C:954BA7F:1053A782:666EC650',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4985',
'x-ratelimit-reset': '1718537452',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '15',
'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/10/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":["feature","minor"]}',
request: {}
},
event: {
id: '9535462062',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '8852ac4e7cb5149ade994b3dd1d4b1cf8af592cd',
before: 'adc0cd8b4749968f9b6d8266d54745196956bdb3',
number: 10,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/10/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/10'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10'
},
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/10/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/10'
},
statuses: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/statuses/8852ac4e7cb5149ade994b3dd1d4b1cf8af592cd'
}
},
active_lock_reason: null,
additions: 1707,
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:
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9535462062',
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: 'Sun, 16 Jun 2024 11:02:41 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': '0BC7:77355:8EA6E4D:F95C183:666EC651',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4984',
'x-ratelimit-reset': '1718537452',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '16',
'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: 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### 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/10/merge"}',
request: { retryCount: 1 }
},
event: {
id: '9535462062',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '8852ac4e7cb5149ade994b3dd1d4b1cf8af592cd',
before: 'adc0cd8b4749968f9b6d8266d54745196956bdb3',
number: 10,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/10/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/10'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10'
},
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/10/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/10'
},
|
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: '9535462062',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '8852ac4e7cb5149ade994b3dd1d4b1cf8af592cd',
before: 'adc0cd8b4749968f9b6d8266d54745196956bdb3',
number: 10,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10/comments'
},
commits: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/10/commits'
},
html: {
href: 'https://github.com/aamirazad/homelab-connector/pull/10'
},
issue: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/issues/10'
},
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/10/comments'
},
self: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/pulls/10'
},
statuses: {
href: 'https://api.github.com/repos/aamirazad/homelab-connector/statuses/8852ac4e7cb5149ade994b3dd1d4b1cf8af592cd'
}
},
active_lock_reason: null,
additions: 1707,
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: false,
deployments_url: 'https://api.github.com/repos/aamirazad/homelab-connector/deployments',
description: 'Connects popular homelab services together',
disabled: false,
downloa
|