Quick lint #919
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: '9181124157',
status: 422,
response: {
url: 'https://api.github.com/repos/prosopo/captcha/releases/150400366',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 21 May 2024 20:34:36 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': '0FC6:27EB44:28F88E9:481DD93:664D055C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4945',
'x-ratelimit-reset': '1716326213',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '55',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/prosopo/captcha/releases/150400366',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## What’s Changed\\n\\n* Prosopo api error error code fixes (#1234) @HughParry\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-c7c8c94343b9b7f2694d","target_commitish":"refs/pull/1238/merge"}',
request: {}
},
event: {
id: '9181124157',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c9eb453d28f0212405e93f62f9d6c7886c679fb7',
before: 'e7a6f54c3d1ebef40f87f36ebe25426f277ca95f',
number: 1238,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84969805?v=4',
description: '',
events_url: 'https://api.github.com/orgs/prosopo/events',
hooks_url: 'https://api.github.com/orgs/prosopo/hooks',
id: 84969805,
issues_url: 'https://api.github.com/orgs/prosopo/issues',
login: 'prosopo',
members_url: 'https://api.github.com/orgs/prosopo/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg0OTY5ODA1',
public_members_url: 'https://api.github.com/orgs/prosopo/public_members{/member}',
repos_url: 'https://api.github.com/orgs/prosopo/repos',
url: 'https://api.github.com/orgs/prosopo'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/1238/comments'
},
commits: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/1238/commits'
},
html: { href: 'https://github.com/prosopo/captcha/pull/1238' },
issue: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/1238'
},
review_comment: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/comments{/number}'
},
|
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 processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '9181124157',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c9eb453d28f0212405e93f62f9d6c7886c679fb7',
before: 'e7a6f54c3d1ebef40f87f36ebe25426f277ca95f',
number: 1238,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84969805?v=4',
description: '',
events_url: 'https://api.github.com/orgs/prosopo/events',
hooks_url: 'https://api.github.com/orgs/prosopo/hooks',
id: 84969805,
issues_url: 'https://api.github.com/orgs/prosopo/issues',
login: 'prosopo',
members_url: 'https://api.github.com/orgs/prosopo/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg0OTY5ODA1',
public_members_url: 'https://api.github.com/orgs/prosopo/public_members{/member}',
repos_url: 'https://api.github.com/orgs/prosopo/repos',
url: 'https://api.github.com/orgs/prosopo'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/1238/comments'
},
commits: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/1238/commits'
},
html: { href: 'https://github.com/prosopo/captcha/pull/1238' },
issue: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/1238'
},
review_comment: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/1238/comments'
},
self: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/1238'
},
statuses: {
href: 'https://api.github.com/repos/prosopo/captcha/statuses/c9eb453d28f0212405e93f62f9d6c7886c679fb7'
}
},
active_lock_reason: null,
additions: 20,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: {
commit_message: null,
commit_title: null,
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/156670514?v=4',
events_url: 'https://api.github.com/users/prosoponator/events{/privacy}',
followers_url: 'https://api.github.com/users/prosoponator/followers',
following_url: 'https://api.github.com/users/prosoponator/following{/other_user}',
gists_url: 'https://api.github.com/users/prosoponator/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/prosoponator',
id: 156670514,
login: 'prosoponator',
node_id: 'U_kgDOCVaaMg',
organizations_url: 'https://api.github.com/users/prosoponator/orgs',
received_events_url: 'https://api.github.com/users/prosoponator/received_events',
repos_url: 'https://api.github.com/users/prosoponator/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/prosoponator/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/prosoponator/subscriptions',
type: 'User',
url: 'https://api.github.com/users/prosoponator'
},
merge_method: 'squash'
},
base: {
label: 'prosopo:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
|
update_release_draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|