Chore: Add ruff lint rules #43
release_drafter.yml
on: pull_request
update_release_draft
51s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11763137155',
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: 'Sun, 10 Nov 2024 07:11:57 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': 'DC02:26FC94:6A8C45:D01627:67305CBD',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14992',
'x-ratelimit-reset': '1731226268',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '8',
'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: '11763137155',
name: 'pull_request',
payload: {
action: 'opened',
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.gith
|
update_release_draft
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: '11763137155',
name: 'pull_request',
payload: {
action: 'opened',
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/9e5bdb1344f6aae9c925589978a860f46d90885e'
}
},
active_lock_reason: null,
additions: 147,
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}',
comments_url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/comments{/number}',
commits_url: '
|