Chore: Add ruff lint rules #60
Annotations
2 errors
Run release-drafter/release-drafter@v6
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11787785570',
status: 422,
response: {
url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/releases/184543877',
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: 'Mon, 11 Nov 2024 23:29:09 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': '1CC2:E5C5B:12F9F69:250CE5A:67329345',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14938',
'x-ratelimit-reset': '1731369885',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '62',
'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/airbytehq/airbyte-python-cdk/releases/184543877',
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":"## Changes\\n\\n- ci: fix release drafter change template (#15)\\n\\n## Under the Hood ⚙️\\n\\n- CI: Fix mypy script reference to main branch (#18)\\n- chore: apply Prettier auto-formatting to codebase (#17)\\n- chore: resolve ruff lint issues (#16)\\n- chore: set line length 100 (#14)\\n- Chore: Fix formatting and update slash commands (#13)\\n- CI: Add GitHub workflows, including testing, linting, release drafting, and documentation generation (#2)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0","tag_name":"v0.1.0","target_commitish":"refs/pull/19/merge"}',
request: {}
},
event: {
id: '11787785570',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '7a9685188a69584bb151afca709acc551ac0dfda',
before: 'c3ce1eeee29fe942ee78096881ba419310d2be68',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/80126?v=4',
created_at: '2023-09-29T16:57:11Z',
description: null,
html_url: 'https://github.com/enterprises/airbyte',
id: 80126,
name: 'Airbyte, Inc.',
node_id: 'E_kgDOAAE4_g',
slug: 'airbyte',
updated_at: '2024-08-06T14:56:31Z',
website_url: null
},
number: 19,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/59758427?v=4',
description: 'Simple & extensible open-source data integration',
events_url: 'https://api.github.com/orgs/airbytehq/events',
hooks_url: 'https://api.github.com/orgs/airbytehq/hooks',
id: 59758427,
issues_url: 'https://api.github.com/orgs/airbytehq/issues',
login: 'airbytehq',
members_url: 'https://api.github.com/orgs/airby
|
Run release-drafter/release-drafter@v6
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: '11787785570',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '7a9685188a69584bb151afca709acc551ac0dfda',
before: 'c3ce1eeee29fe942ee78096881ba419310d2be68',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/80126?v=4',
created_at: '2023-09-29T16:57:11Z',
description: null,
html_url: 'https://github.com/enterprises/airbyte',
id: 80126,
name: 'Airbyte, Inc.',
node_id: 'E_kgDOAAE4_g',
slug: 'airbyte',
updated_at: '2024-08-06T14:56:31Z',
website_url: null
},
number: 19,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/59758427?v=4',
description: 'Simple & extensible open-source data integration',
events_url: 'https://api.github.com/orgs/airbytehq/events',
hooks_url: 'https://api.github.com/orgs/airbytehq/hooks',
id: 59758427,
issues_url: 'https://api.github.com/orgs/airbytehq/issues',
login: 'airbytehq',
members_url: 'https://api.github.com/orgs/airbytehq/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU5NzU4NDI3',
public_members_url: 'https://api.github.com/orgs/airbytehq/public_members{/member}',
repos_url: 'https://api.github.com/orgs/airbytehq/repos',
url: 'https://api.github.com/orgs/airbytehq'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/issues/19/comments'
},
commits: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/pulls/19/commits'
},
html: {
href: 'https://github.com/airbytehq/airbyte-python-cdk/pull/19'
},
issue: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/issues/19'
},
review_comment: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/pulls/19/comments'
},
self: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/pulls/19'
},
statuses: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/statuses/7a9685188a69584bb151afca709acc551ac0dfda'
}
},
active_lock_reason: null,
additions: 8277,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'airbytehq:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/assignees{/user}',
blobs_url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/branches{/branch}',
clone_url: 'https://github.com/airbytehq/airbyte-python-cdk.git',
collaborators_url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/collaborators{/collaborator}',
|
Loading