fix: (DeclarativeOAuthFlow) - allow DeclarativeOauth2Authenticator
to use access_token
directly when no token_refresh_endpoint
or refresh_token
values are provided.
#867
release_drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12434545024',
status: 422,
response: {
url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/releases',
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: 'Fri, 20 Dec 2024 16:02:00 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; 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': '9C07:274F42:3BE6442:776ACF8:676594F8',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14988',
'x-ratelimit-reset': '1734711704',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/182/merge","name":"v6.12.3","tag_name":"v6.12.3","body":"## Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '12434545024',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '24e55bed2315bca5412d3f14bccd2fa4419478d8',
before: '028f0c16a222a6b56d4e89b17ef63d3c3dead958',
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-12-17T18:38:15Z',
website_url: null
},
number: 182,
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/ai
|
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: '12434545024',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '24e55bed2315bca5412d3f14bccd2fa4419478d8',
before: '028f0c16a222a6b56d4e89b17ef63d3c3dead958',
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-12-17T18:38:15Z',
website_url: null
},
number: 182,
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/182/comments'
},
commits: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/pulls/182/commits'
},
html: {
href: 'https://github.com/airbytehq/airbyte-python-cdk/pull/182'
},
issue: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/issues/182'
},
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/182/comments'
},
self: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/pulls/182'
},
statuses: {
href: 'https://api.github.com/repos/airbytehq/airbyte-python-cdk/statuses/24e55bed2315bca5412d3f14bccd2fa4419478d8'
}
},
active_lock_reason: null,
additions: 78,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/22987674?v=4',
events_url: 'https://api.github.com/users/bazarnov/events{/privacy}',
followers_url: 'https://api.github.com/users/bazarnov/followers',
following_url: 'https://api.github.com/users/bazarnov/following{/other_user}',
gists_url: 'https://api.github.com/users/bazarnov/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/bazarnov',
id: 22987674,
login: 'bazarnov',
node_id: 'MDQ6VXNlcjIyOTg3Njc0',
organizations_url: 'https://api.github.com/users/bazarnov/orgs',
received_events_url: 'https://api.github.com/users/bazarnov/received_events',
repos_url: 'https://api.github.com/users/bazarnov/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/bazarnov/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/bazarnov/subscriptions',
type: 'User',
url: 'https://api.github
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|