refactor: adjust amazon forwarding validation function #748
release-drafter.yaml
on: pull_request
update_release_draft
8s
Annotations
3 errors and 1 warning
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '10067415695',
status: 403,
response: {
url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/issues/957/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: 'Tue, 23 Jul 2024 22:42:27 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': 'A405:3EEA82:F3BCE9:1BF8182:66A031D3',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4965',
'x-ratelimit-reset': '1721776253',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '35',
'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/moralmunky/Home-Assistant-Mail-And-Packages/issues/957/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":["enhancement"]}',
request: {}
},
event: {
id: '10067415695',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'be71b76177be57a852378107c60e41add550bed3',
before: '6e56e05d29185cc5475d4ec58d217a34b38ab8b0',
number: 957,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/issues/957/comments'
},
commits: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/957/commits'
},
html: {
href: 'https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/pull/957'
},
issue: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/issues/957'
},
review_comment: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/957/comments'
},
self: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/957'
},
statuses: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/statuses/be71b76177be57a852378107c60e41add550bed3'
}
},
active_lock_reason: null,
additions: 301,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'moralmunky:dev',
ref: 'dev',
repo: {
allow_auto_merge: false,
|
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '10067415695',
status: 403,
response: {
url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/releases',
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: 'Tue, 23 Jul 2024 22:42:31 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': 'contents=write; contents=write,workflows=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': 'A409:6FED1:1017516:1DAA9BB:66A031D7',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4961',
'x-ratelimit-reset': '1721776253',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '39',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/releases',
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: '{"target_commitish":"refs/pull/957/merge","name":"0.3.32","tag_name":"0.3.32","body":"[![Downloads for this release](https://img.shields.io/github/downloads/moralmunky/Home-Assistant-Mail-And-Packages/0.3.32/total.svg)](https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/releases/0.3.32)\\n\\n## :boom: Breaking Change :boom:\\n\\n- refactor: change the amazon config flow, use less searching @firstof9 (#939)\\n\\n## :zap: Enhancements :zap:\\n\\n- feat(shipper): update intelcom, ups and amazon with canadian french strings @Bluscream (#954)\\n\\n## :bug: Bug Fixes :bug:\\n\\n- fix(shipper): add more buildinglink subject lines @raccettura (#938)\\n- fix: support different from addresses on amazon delivered emails @firstof9 (#940)\\n- fix: fix bug in amazon reconfig flow @firstof9 (#941)\\n- fix: fix missing config for image path @firstof9 (#945)\\n- fix: fix string validation on amazon forwards config @firstof9 (#946)\\n- fix: workaround for release workflow issue @firstof9 (#951)\\n- fix: better image path replacement @firstof9 (#952)\\n\\n## :wrench: Maintenance :wrench:\\n\\n- chore: update hacs.json and release drafter config @firstof9 (#942)\\n\\n## :mortar_board: Code Quality :mortar_board:\\n\\n- refactor: change the amazon config flow, use less searching @firstof9 (#939)\\n- fix: typo in service call @RosemaryOrchard (#943)\\n- refactor: redact amazon forward emails from diagnostics @firstof9 (#948)\\n\\n## Links\\n- [Wiki](https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/wiki)\\n- [Submit bugs/feature requests](https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/issues)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: { retryCount: 1 }
},
event: {
id: '10067415695',
name: 'pull_request',
payload: {
action: 'synchro
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/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/v5/dist/index.js:30793:18)
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/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/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10067415695',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'be71b76177be57a852378107c60e41add550bed3',
before: '6e56e05d29185cc5475d4ec58d217a34b38ab8b0',
number: 957,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/issues/957/comments'
},
commits: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/957/commits'
},
html: {
href: 'https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/pull/957'
},
issue: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/issues/957'
},
review_comment: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/957/comments'
},
self: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/pulls/957'
},
statuses: {
href: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/statuses/be71b76177be57a852378107c60e41add550bed3'
}
},
active_lock_reason: null,
additions: 301,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'moralmunky:dev',
ref: 'dev',
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/moralmunky/Home-Assistant-Mail-And-Packages/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/assignees{/user}',
blobs_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/branches{/branch}',
clone_url: 'https://github.com/moralmunky/Home-Assistant-Mail-And-Packages.git',
collaborators_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/comments{/number}',
commits_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/commits{/sha}',
compare_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/contents/{+path}',
contributors_url: 'https://api.github.com/repos/moralmunky/Home-Assistant-Mail-And-Packages/contributors',
created_at: '2019-05-22T20:09:11Z',
default_branch: '
|
update_release_draft
The following actions uses Node.js version which is deprecated and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|