Improvement: Metadata Creation and Processing Optimizations #473
release-drafter.yml
on: pull_request
Update draft release
9s
Annotations
2 errors
|
Update draft release
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: '16593861183',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '35b5471f31f85bdefaad03f375feefc6917ce4c9',
before: '238c296f6d02f9a0e69144a3eaccff95debb811e',
number: 207,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/15377824?v=4',
description: 'Open source code and developers community of the Italian government',
events_url: 'https://api.github.com/orgs/italia/events',
hooks_url: 'https://api.github.com/orgs/italia/hooks',
id: 15377824,
issues_url: 'https://api.github.com/orgs/italia/issues',
login: 'italia',
members_url: 'https://api.github.com/orgs/italia/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE1Mzc3ODI0',
public_members_url: 'https://api.github.com/orgs/italia/public_members{/member}',
repos_url: 'https://api.github.com/orgs/italia/repos',
url: 'https://api.github.com/orgs/italia'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/issues/207/comments'
},
commits: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/pulls/207/commits'
},
html: {
href: 'https://github.com/italia/iam-proxy-italia/pull/207'
},
issue: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/issues/207'
},
review_comment: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/pulls/207/comments'
},
self: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/pulls/207'
},
statuses: {
href: 'https://api.github.com/repos/italia/iam-proxy-italia/statuses/35b5471f31f85bdefaad03f375feefc6917ce4c9'
}
},
active_lock_reason: null,
additions: 175,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/1297620?v=4',
events_url: 'https://api.github.com/users/peppelinux/events{/privacy}',
followers_url: 'https://api.github.com/users/peppelinux/followers',
following_url: 'https://api.github.com/users/peppelinux/following{/other_user}',
gists_url: 'https://api.github.com/users/peppelinux/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/peppelinux',
id: 1297620,
login: 'peppelinux',
node_id: 'MDQ6VXNlcjEyOTc2MjA=',
organizations_url: 'https://api.github.com/users/peppelinux/orgs',
received_events_url: 'https://api.github.com/users/peppelinux/received_events',
repos_url: 'https://api.github.com/users/peppelinux/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/peppelinux/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/peppelinux/subscriptions',
type: 'User',
url: 'https://api.github.com/users/peppelinux',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/1297620?v=4',
events_url: 'https://api.github.com/users/peppelinux/events{/privacy}',
followers_url: 'https://api.github.com/users/peppelinux/followers',
following_url: 'https://api.github.com/users/peppelinux/following{/other_user
|
|
Update draft release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '16593861183',
status: 422,
response: {
url: 'https://api.github.com/repos/italia/iam-proxy-italia/releases/232844685',
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: 'Tue, 29 Jul 2025 10:44:07 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': 'EC17:2FEC80:98D189:9DB0B3:6888A5F7',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1753789444',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/italia/iam-proxy-italia/releases/232844685',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.19.3 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Release notes\\n\\n- CI branching strategies for alignment with eudi-wallet-it-python @saralongobardiacn (#201)\\n- Satosa and PySAML2 forks alignment @peppelinux (#200)\\n- readme, use cases and architecture portrait @peppelinux (#196)\\n\\n## Features\\n\\n- feat: openid4vci dpop\\\\_signing\\\\_alg\\\\_values\\\\_supported configuration @saralongobardiacn (#208)\\n- Add Oauth authorization server and credential issuer endpoint @saralongobardiacn (#202)\\n\\n## Bug Fixes\\n\\n- rev: MongoDB schema and collection naming review @saralongobardiacn (#206)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.5.1","tag_name":"v2.5.1","target_commitish":"refs/pull/207/merge"}',
request: {}
},
event: {
id: '16593861183',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '35b5471f31f85bdefaad03f375feefc6917ce4c9',
before: '238c296f6d02f9a0e69144a3eaccff95debb811e',
number: 207,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/15377824?v=4',
description: 'Open source code and developers community of the Italian government',
events_url: 'https://api.github.com/orgs/italia/events',
hooks_url: 'https://api.github.com/orgs/italia/hooks',
id: 15377824,
issues_url: 'https://api.github.com/orgs/italia/issues',
login: 'italia',
members_url: 'https://api.github.com/orgs/italia/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE1Mzc3ODI0',
public_members_url: 'https://api.github.com/orgs/italia/public_members{/member}',
repos_url: 'https://api.github.com/orgs/italia/repos',
url: 'https://api.github.com/orgs/italia'
},
pull_request: {
|