feat/river schema v2 compatibility #365
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: '11732481409',
status: 422,
response: {
url: 'https://api.github.com/repos/replit/river-python/releases/184229998',
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: 'Thu, 07 Nov 2024 22:35:33 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': 'FEC6:33151B:1F78251:3DB2193:672D40B5',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14990',
'x-ratelimit-reset': '1731022528',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'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/replit/river-python/releases/184229998',
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* No changes\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.8.2","tag_name":"v0.8.2","target_commitish":"refs/pull/106/merge"}',
request: {}
},
event: {
id: '11732481409',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '717cc68d8830f4ab15590a57ef3f31814aa2a002',
before: 'b71a809217e19b6748db00b285d9f722c8035131',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/125249?v=4',
created_at: '2024-02-16T01:02:54Z',
description: null,
html_url: 'https://github.com/enterprises/replit',
id: 125249,
name: 'Replit',
node_id: 'E_kgDOAAHpQQ',
slug: 'replit',
updated_at: '2024-02-16T01:21:11Z',
website_url: null
},
number: 106,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/983194?v=4',
description: 'Instantly code and collaborate from anywhere',
events_url: 'https://api.github.com/orgs/replit/events',
hooks_url: 'https://api.github.com/orgs/replit/hooks',
id: 983194,
issues_url: 'https://api.github.com/orgs/replit/issues',
login: 'replit',
members_url: 'https://api.github.com/orgs/replit/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk4MzE5NA==',
public_members_url: 'https://api.github.com/orgs/replit/public_members{/member}',
repos_url: 'https://api.github.com/orgs/replit/repos',
url: 'https://api.github.com/orgs/replit'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/replit/river-python/issues/106/comments'
},
commits:
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/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/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11732481409',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '717cc68d8830f4ab15590a57ef3f31814aa2a002',
before: 'b71a809217e19b6748db00b285d9f722c8035131',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/125249?v=4',
created_at: '2024-02-16T01:02:54Z',
description: null,
html_url: 'https://github.com/enterprises/replit',
id: 125249,
name: 'Replit',
node_id: 'E_kgDOAAHpQQ',
slug: 'replit',
updated_at: '2024-02-16T01:21:11Z',
website_url: null
},
number: 106,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/983194?v=4',
description: 'Instantly code and collaborate from anywhere',
events_url: 'https://api.github.com/orgs/replit/events',
hooks_url: 'https://api.github.com/orgs/replit/hooks',
id: 983194,
issues_url: 'https://api.github.com/orgs/replit/issues',
login: 'replit',
members_url: 'https://api.github.com/orgs/replit/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk4MzE5NA==',
public_members_url: 'https://api.github.com/orgs/replit/public_members{/member}',
repos_url: 'https://api.github.com/orgs/replit/repos',
url: 'https://api.github.com/orgs/replit'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/replit/river-python/issues/106/comments'
},
commits: {
href: 'https://api.github.com/repos/replit/river-python/pulls/106/commits'
},
html: { href: 'https://github.com/replit/river-python/pull/106' },
issue: {
href: 'https://api.github.com/repos/replit/river-python/issues/106'
},
review_comment: {
href: 'https://api.github.com/repos/replit/river-python/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/replit/river-python/pulls/106/comments'
},
self: {
href: 'https://api.github.com/repos/replit/river-python/pulls/106'
},
statuses: {
href: 'https://api.github.com/repos/replit/river-python/statuses/717cc68d8830f4ab15590a57ef3f31814aa2a002'
}
},
active_lock_reason: null,
additions: 213,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'replit:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/replit/river-python/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/replit/river-python/assignees{/user}',
blobs_url: 'https://api.github.com/repos/replit/river-python/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/replit/river-python/branches{/branch}',
clone_url: 'https://github.com/replit/river-python.git',
collaborators_url: 'https://api.github.com/repos/replit/river-python/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/replit/river-python/comments{/number}',
commits_url: 'https://api.github.com/repos/replit/river-python/commits{/sha}',
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|