Fix type annotations and linter errors #53
release-drafter.yml
on: pull_request
update_release_draft
7s
Annotations
2 errors and 4 warnings
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '13262737110',
status: 403,
response: {
url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/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: 'Tue, 11 Feb 2025 12:19:24 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': '0401:314DCA:499E32A:4B9A34C:67AB404C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4944',
'x-ratelimit-reset': '1739277603',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '56',
'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/wimb0/home-assistant-saj-r5-modbus/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)',
'x-github-delivery': '13262737110',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/109/merge","name":"v2.3.1","tag_name":"v2.3.1","body":"[](https://github.com/wimb0/home-assistant-saj-r5-modbus/releases/v2.3.1)\\n\\n- Blueprint updates @wimb0 (#106)\\n- Fix set_limitpower @mvn23 (#107)\\n- Wimb0 patch lint @wimb0 (#108)\\n\\n## 🔩 Dependency 🔩\\n\\n- Bump actions/checkout from 3 to 4 @[dependabot[bot]](https://github.com/apps/dependabot) (#105)\\n\\n## Links\\n- [Submit bugs/feature requests](https://github.com/wimb0/home-assistant-saj-r5-modbus/issues)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '13262737110',
name: 'pull_request',
payload: {
action: 'opened',
number: 109,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/issues/109/comments'
},
commits: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/109/commits'
},
html: {
href: 'https://github.com/wimb0/home-assistant-saj-r5-modbus/pull/109'
},
issue: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/issues/109'
},
review_comment: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/109/comments'
},
self: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/109'
},
statuses: {
|
update_release_draft
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: '13262737110',
name: 'pull_request',
payload: {
action: 'opened',
number: 109,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/issues/109/comments'
},
commits: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/109/commits'
},
html: {
href: 'https://github.com/wimb0/home-assistant-saj-r5-modbus/pull/109'
},
issue: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/issues/109'
},
review_comment: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/109/comments'
},
self: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/pulls/109'
},
statuses: {
href: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/statuses/11409115c007a85c17d30c678baed922a2d7f634'
}
},
active_lock_reason: null,
additions: 25,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'wimb0: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/wimb0/home-assistant-saj-r5-modbus/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/assignees{/user}',
blobs_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/branches{/branch}',
clone_url: 'https://github.com/wimb0/home-assistant-saj-r5-modbus.git',
collaborators_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/comments{/number}',
commits_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/commits{/sha}',
compare_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/contents/{+path}',
contributors_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/contributors',
created_at: '2021-03-04T23:23:50Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/deployments',
description: 'Home Assistant Component for reading data locally from SAJ R5 (and Zonneplan One) Inverters through modbus TCP.',
disabled: false,
downloads_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/downloads',
events_url: 'https://api.github.com/repos/wimb0/home-assistant-saj-r5-modbus/events',
fork: false,
forks: 16,
forks_count: 16,
forks_url: 'https://api.github.
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|