fix: accept scalar values in v2 visibility rules #1158
release-drafter.yml
on: pull_request
update release draft
8s
Annotations
2 errors and 5 warnings
|
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:7146: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:56365:18)
{
name: 'AggregateError',
event: {
id: '23641698115',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/10339?v=4',
created_at: '2021-11-29T18:04:03Z',
description: '',
html_url: 'https://github.com/enterprises/ledger',
id: 10339,
name: 'Ledger',
node_id: 'E_kgDNKGM',
slug: 'ledger',
updated_at: '2025-08-12T20:49:58Z',
website_url: 'https://www.ledger.com'
},
number: 293,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9784193?v=4',
description: 'Trusted hardware for blockchain applications',
events_url: 'https://api.github.com/orgs/LedgerHQ/events',
hooks_url: 'https://api.github.com/orgs/LedgerHQ/hooks',
id: 9784193,
issues_url: 'https://api.github.com/orgs/LedgerHQ/issues',
login: 'LedgerHQ',
members_url: 'https://api.github.com/orgs/LedgerHQ/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk3ODQxOTM=',
public_members_url: 'https://api.github.com/orgs/LedgerHQ/public_members{/member}',
repos_url: 'https://api.github.com/orgs/LedgerHQ/repos',
url: 'https://api.github.com/orgs/LedgerHQ'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/issues/293/comments'
},
commits: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/293/commits'
},
html: {
href: 'https://github.com/LedgerHQ/python-erc7730/pull/293'
},
issue: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/issues/293'
},
review_comment: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/293/comments'
},
self: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/293'
},
statuses: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/statuses/8fa3ed3e422da4679b0c2a689e4483cb3d23dae0'
}
},
active_lock_reason: null,
additions: 40,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'LedgerHQ:main',
ref: 'main',
repo: {
allow_auto_merge: true,
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/LedgerHQ/python-erc7730/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/assignees{/user}',
blobs_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/branches{/branch}',
clone_url: 'https://github.com/LedgerHQ/python-erc7730.git',
collaborators_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/comments{/number}',
commits_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/commits{/sha}',
|
|
update release draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '23641698115',
status: 422,
response: {
url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/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',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 27 Mar 2026 10:21:12 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-oauth-scopes': 'repo',
'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': 'A232:25C8D2:14E3A:1889F:69C65A17',
'x-oauth-scopes': 'delete:packages, repo, workflow, write:packages',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4989',
'x-ratelimit-reset': '1774610407',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '11',
'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/LedgerHQ/python-erc7730/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.20.1 (linux; x64)',
'x-github-delivery': '23641698115',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/293/merge","name":"v1.0.7","tag_name":"v1.0.7","body":"* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '23641698115',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/10339?v=4',
created_at: '2021-11-29T18:04:03Z',
description: '',
html_url: 'https://github.com/enterprises/ledger',
id: 10339,
name: 'Ledger',
node_id: 'E_kgDNKGM',
slug: 'ledger',
updated_at: '2025-08-12T20:49:58Z',
website_url: 'https://www.ledger.com'
},
number: 293,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9784193?v=4',
description: 'Trusted hardware for blockchain applications',
events_url: 'https://api.github.com/orgs/LedgerHQ/events',
hooks_url: 'https://api.github.com/orgs/LedgerHQ/hooks',
id: 9784193,
issues_url: 'https://api.github.com/orgs/LedgerHQ/issues',
login: 'LedgerHQ',
members_url: 'https://api.github.com/orgs/LedgerHQ/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk3ODQxOTM=',
public_members_url: 'https://api.github.com/orgs/LedgerHQ/public_members{/member}',
repos_url: 'https://api.github.com/orgs/LedgerHQ/repos',
url: 'https://api.github.com/orgs/LedgerHQ'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/issues/293/comments'
},
commits: {
href: 'https://api.github.com/r
|
|
update release draft
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: release-drafter/release-drafter@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
update release draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update release draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update release draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update release draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|