fix: Replace bare except clauses with specific exception types #77
Annotations
2 errors and 4 warnings
|
Run release-drafter/release-drafter@v6
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146: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:61885:18)
{
name: 'AggregateError',
event: {
id: '21224281408',
name: 'pull_request',
payload: {
action: 'opened',
number: 77,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/issues/77/comments'
},
commits: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/77/commits'
},
html: { href: 'https://github.com/jmdevita/parcel-ha/pull/77' },
issue: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/issues/77'
},
review_comment: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/77/comments'
},
self: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/77'
},
statuses: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/statuses/cc68865f79a3e1faac4756a980ea8103efd2719e'
}
},
active_lock_reason: null,
additions: 25,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'jmdevita: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/jmdevita/parcel-ha/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/jmdevita/parcel-ha/assignees{/user}',
blobs_url: 'https://api.github.com/repos/jmdevita/parcel-ha/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/jmdevita/parcel-ha/branches{/branch}',
clone_url: 'https://github.com/jmdevita/parcel-ha.git',
collaborators_url: 'https://api.github.com/repos/jmdevita/parcel-ha/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/jmdevita/parcel-ha/comments{/number}',
commits_url: 'https://api.github.com/repos/jmdevita/parcel-ha/commits{/sha}',
compare_url: 'https://api.github.com/repos/jmdevita/parcel-ha/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/jmdevita/parcel-ha/contents/{+path}',
contributors_url: 'https://api.github.com/repos/jmdevita/parcel-ha/contributors',
created_at: '2025-03-02T21:09:56Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/jmdevita/parcel-ha/deployments',
description: 'Unofficial ParcelApp integration with Home Assistant',
disabled: false,
downloads_url: 'https://api.github.com/repos/jmdevita/parcel-ha/downloads',
events_url: 'https://api.github.com/repos/jmdevita/parcel-ha/events',
fork: false,
forks: 6,
forks_count: 6,
forks_url: 'https://api.github.com/repos/jmdevita/parcel-ha/forks',
full_name: 'jmdevita/parcel-ha',
git_commits_url: 'https://api.github.com/repos/jmdevita/parcel-ha/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/jmdevita/parcel-ha/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/jmdevita/parcel-ha/git/tags{/sha}',
git_url: 'git://github.com/jmdevita/parcel-ha.git',
has_di
|
|
Run release-drafter/release-drafter@v6
Resource not accessible by integration
{
name: 'HttpError',
id: '21224281408',
status: 403,
response: {
url: 'https://api.github.com/repos/jmdevita/parcel-ha/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',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sat, 24 Jan 2026 12:46:21 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': '081A:1A386F:2FAFB13:D87674A:6974BF1D',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4935',
'x-ratelimit-reset': '1769258847',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '65',
'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/jmdevita/parcel-ha/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.6 (linux; x64)',
'x-github-delivery': '21224281408',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/77/merge","name":"v1.7.4","tag_name":"v1.7.4","body":"## Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '21224281408',
name: 'pull_request',
payload: {
action: 'opened',
number: 77,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/issues/77/comments'
},
commits: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/77/commits'
},
html: { href: 'https://github.com/jmdevita/parcel-ha/pull/77' },
issue: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/issues/77'
},
review_comment: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/77/comments'
},
self: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/pulls/77'
},
statuses: {
href: 'https://api.github.com/repos/jmdevita/parcel-ha/statuses/cc68865f79a3e1faac4756a980ea8103efd2719e'
}
},
active_lock_reason: null,
additions: 25,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'jmdevita: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/jmdevita/parcel-ha/{
|
|
Run release-drafter/release-drafter@v6
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Run release-drafter/release-drafter@v6
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Run release-drafter/release-drafter@v6
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Run release-drafter/release-drafter@v6
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Loading