fix: Pylint W0201 attribute-defined-outside-init (#717) #254
Annotations
2 errors and 5 warnings
Release
Resource not accessible by integration
{
name: 'HttpError',
id: '11655361755',
status: 403,
response: {
url: 'https://api.github.com/repos/hacf-fr/freebox-api/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: 'Sun, 03 Nov 2024 22:57:14 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': '0C43:3A9320:B2F6987:B4865C9:6727FFCA',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4967',
'x-ratelimit-reset': '1730675056',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '33',
'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/hacf-fr/freebox-api/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/heads/master","name":"","tag_name":"","body":"## Changes\\n\\n## :rocket: Features\\n\\n* Attest build provenance (#704) @Quentame\\n* Add support for Downloads APIs (#276) @Quentame\\n* Add GitHub issue template (#595) @Quentame\\n\\n## :fire: Removals and Deprecations\\n\\n* Add mypy & typeguard tests + fix dependencies + add some typing (#593) @Quentame\\n\\n## :beetle: Fixes\\n\\n* fix: Download params (#712) @Quentame\\n\\n## :rotating_light: Testing\\n\\n* Add mypy & typeguard tests + fix dependencies + add some typing (#593) @Quentame\\n\\n## :construction_worker: Continuous Integration\\n\\n* Attest build provenance (#704) @Quentame\\n* Bump actions/[upload|download]-artifact from v3 to v4 (#703) @Quentame\\n* Bump Python version to 3.12 (#598) @Quentame\\n* Fix doc build & bump build to py3.11 (#596) @Quentame\\n* Add mypy & typeguard tests + fix dependencies + add some typing (#593) @Quentame\\n\\n## :books: Documentation\\n\\n* Use sphinx-rtd-theme & update sphinx (#597) @Quentame\\n\\n## :hammer: Refactoring\\n\\n* fix: Pylint W0201 attribute-defined-outside-init (#717) @Quentame\\n* fix: string format Pylint W1202 & C0209 (#716) @Quentame\\n* Remove urllib3 dependency (#702) @cdce8p\\n\\n## :package: Dependencies\\n\\n* Bump virtualenv from 20.27.0 to 20.27.1 in /.github/workflows (#713) @dependabot\\n* Bump flake8-bugbear from 24.8.19 to 24.10.31 (#715) @dependabot\\n* Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#714) @dependabot\\n* Bump safety from 3.2.8 to 3.2.10 (#711) @dependabot\\n* Bump mypy from 1.12.1 to 1.13.0 (#706) @dependabot\\n* Bump importlib-metadata from 6.11.0 to 8.5.0 (#698) @dependabot\\n* Bump pip from 24.2 to 24.3.1 in /.github/workflows (#705) @dependabot\\n* Bump typeguard from 4.3.0 to 4.4.0 (#707) @dependabot\\n* Bump actions/checkout from 4.1.1 to 4.2.2 (#709) @dependab
|
Release
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11655361755',
name: 'push',
payload: {
after: 'b39c6821499cc26cad0b4d99c41473155bb566cb',
base_ref: null,
before: 'fc7b703531f21e8c7ae905b6c38bcdfa181402c3',
commits: [
{
author: {
email: '[email protected]',
name: 'Quentame',
username: 'Quentame'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'b39c6821499cc26cad0b4d99c41473155bb566cb',
message: 'fix: Pylint W0201 attribute-defined-outside-init (#717)',
timestamp: '2024-11-03T23:56:13+01:00',
tree_id: '6f22900f18b482527d4207afba76b047296a2403',
url: 'https://github.com/hacf-fr/freebox-api/commit/b39c6821499cc26cad0b4d99c41473155bb566cb'
}
],
compare: 'https://github.com/hacf-fr/freebox-api/compare/fc7b703531f2...b39c6821499c',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Quentame',
username: 'Quentame'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'b39c6821499cc26cad0b4d99c41473155bb566cb',
message: 'fix: Pylint W0201 attribute-defined-outside-init (#717)',
timestamp: '2024-11-03T23:56:13+01:00',
tree_id: '6f22900f18b482527d4207afba76b047296a2403',
url: 'https://github.com/hacf-fr/freebox-api/commit/b39c6821499cc26cad0b4d99c41473155bb566cb'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/65118536?v=4',
description: 'French speaking community for Home-Assistant | Communauté francophone pour Home-Assistant',
events_url: 'https://api.github.com/orgs/hacf-fr/events',
hooks_url: 'https://api.github.com/orgs/hacf-fr/hooks',
id: 65118536,
issues_url: 'https://api.github.com/orgs/hacf-fr/issues',
login: 'hacf-fr',
members_url: 'https://api.github.com/orgs/hacf-fr/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjY1MTE4NTM2',
public_members_url: 'https://api.github.com/orgs/hacf-fr/public_members{/member}',
repos_url: 'https://api.github.com/orgs/hacf-fr/repos',
url: 'https://api.github.com/orgs/hacf-fr'
},
pusher: { email: '[email protected]', name: 'Quentame' },
ref: 'refs/heads/master',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/hacf-fr/freebox-api/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/hacf-fr/freebox-api/assignees{/user}',
blobs_url: 'https://api.github.com/repos/hacf-fr/freebox-api/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/hacf-fr/freebox-api/branches{/branch}',
clone_url: 'https://github.com/hacf-fr/freebox-api.git',
collaborators_url: 'https://api.github.com/repos/hacf-fr/freebox-api/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/hacf-fr/freebox-api/comments{/number}',
commits_url: 'https://api.github.com/repos/hacf-fr/freebox-api/commits{/sha}',
compare_url: 'https://api.github.com/repos/hacf-fr/freebox-api/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/hacf-fr/freebox-api/contents/{+path}',
contributors_url: 'https://api.github.com/repos/hacf-fr/freebox-api/contributors',
created
|
Release
The following actions use a deprecated Node.js version and will be forced to run on node20: salsify/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
attestations input ignored
The workflow was run with the 'attestations: true' input, but an explicit password was also set, disabling Trusted Publishing. As a result, the attestations input is ignored.
|
Upgrade to Trusted Publishing
Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers
|
Create a Trusted Publisher
A new Trusted Publisher for the currently running publishing workflow can be created by accessing the following link(s) while logged-in as an owner of the package(s):
|
Release
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|