Doc | Update custom tasks flags documentation #563
release-management.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '13467539208',
status: 422,
response: {
url: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/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: 'Sat, 22 Feb 2025 00:23:46 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': 'AC05:340B93:7936AC:F4A7FE:67B91912',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4989',
'x-ratelimit-reset': '1740187422',
'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/binbashar/le-ref-architecture-doc/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/238/merge","name":"v1.2.1 🌈","tag_name":"v1.2.1","body":"## Changes\\n\\n## 🚀 Features\\n\\n- add aws vpn endpoint @eze-godoy (#235)\\n\\n## 📝 Documentation\\n\\n- Remove link to base EKS cluster @diego-ojeda-binbash (#236)\\n- add aws vpn endpoint @eze-godoy (#235)\\n- Added documentation on how to troubleshoot the case of scaping chars in CLI @juanmatias (#231)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '13467539208',
name: 'pull_request',
payload: {
action: 'labeled',
label: {
color: '1615BA',
default: false,
description: '',
id: 2974813060,
name: 'minor',
node_id: 'MDU6TGFiZWwyOTc0ODEzMDYw',
url: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/labels/minor'
},
number: 238,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/31255874?v=4',
description: 'AWS Well-Architected Cloud Infrastructure for your Startup with binbash Leverage™',
events_url: 'https://api.github.com/orgs/binbashar/events',
hooks_url: 'https://api.github.com/orgs/binbashar/hooks',
id: 31255874,
issues_url: 'https://api.github.com/orgs/binbashar/issues',
login: 'binbashar',
members_url: 'https://api.github.com/orgs/binbashar/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMxMjU1ODc0',
public_members_url: 'https://api.github.com/orgs/binbashar/public_members{/member}',
repos_url: 'https://api.github.com/orgs/binbashar/repos',
url: 'https://api.github.com/orgs/binbashar'
},
pull_request: {
_links: {
|
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: '13467539208',
name: 'pull_request',
payload: {
action: 'labeled',
label: {
color: '1615BA',
default: false,
description: '',
id: 2974813060,
name: 'minor',
node_id: 'MDU6TGFiZWwyOTc0ODEzMDYw',
url: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/labels/minor'
},
number: 238,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/31255874?v=4',
description: 'AWS Well-Architected Cloud Infrastructure for your Startup with binbash Leverage™',
events_url: 'https://api.github.com/orgs/binbashar/events',
hooks_url: 'https://api.github.com/orgs/binbashar/hooks',
id: 31255874,
issues_url: 'https://api.github.com/orgs/binbashar/issues',
login: 'binbashar',
members_url: 'https://api.github.com/orgs/binbashar/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMxMjU1ODc0',
public_members_url: 'https://api.github.com/orgs/binbashar/public_members{/member}',
repos_url: 'https://api.github.com/orgs/binbashar/repos',
url: 'https://api.github.com/orgs/binbashar'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/issues/238/comments'
},
commits: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/pulls/238/commits'
},
html: {
href: 'https://github.com/binbashar/le-ref-architecture-doc/pull/238'
},
issue: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/issues/238'
},
review_comment: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/pulls/238/comments'
},
self: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/pulls/238'
},
statuses: {
href: 'https://api.github.com/repos/binbashar/le-ref-architecture-doc/statuses/cfe3318810f638d93f9f9092ec8ff968198a9a8b'
}
},
active_lock_reason: null,
additions: 62,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/23464675?v=4',
events_url: 'https://api.github.com/users/angelofenoglio/events{/privacy}',
followers_url: 'https://api.github.com/users/angelofenoglio/followers',
following_url: 'https://api.github.com/users/angelofenoglio/following{/other_user}',
gists_url: 'https://api.github.com/users/angelofenoglio/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/angelofenoglio',
id: 23464675,
login: 'angelofenoglio',
node_id: 'MDQ6VXNlcjIzNDY0Njc1',
organizations_url: 'https://api.github.com/users/angelofenoglio/orgs',
received_events_url: 'https://api.github.com/users/angelofenoglio/received_events',
repos_url: 'https://api.github.com/users/angelofenoglio/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/angelofenoglio/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/angelofenoglio/subscriptions',
type: 'User',
url: 'https://api.github.com/users/angelofenoglio',
user_view_type: 'public'
},
assignees: [
{
|