By default, filter releases by branches #38
release-drafter.yml
on: push
update_release_draft
5s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '13029814688',
status: 422,
response: {
url: 'https://api.github.com/repos/apache/maven-gh-actions-shared/releases/52016180',
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: 'Wed, 29 Jan 2025 10:58: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': '285C:279A6D:2D7DC09:5A913D2:679A09D9',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14997',
'x-ratelimit-reset': '1738151910',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '3',
'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/apache/maven-gh-actions-shared/releases/52016180',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.1 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"<!-- Optional: add a release summary here -->\\n- Update documentation about default milestone ([#128](https://github.com/apache/maven-gh-actions-shared/pull/128)) @slawekjaranowski\\n- Fix typos in issue templates ([#125](https://github.com/apache/maven-gh-actions-shared/pull/125)) @slawekjaranowski\\n- Enable GitHub Issues ([#124](https://github.com/apache/maven-gh-actions-shared/pull/124)) @slawekjaranowski\\n- Labels synchronization in all Maven repositories ([#121](https://github.com/apache/maven-gh-actions-shared/pull/121)) @slawekjaranowski\\n- Fix typos in label file name ([#120](https://github.com/apache/maven-gh-actions-shared/pull/120)) @ascheman\\n- Labels synchronization action ([#119](https://github.com/apache/maven-gh-actions-shared/pull/119)) @slawekjaranowski\\n- PR Automation - next fix in docs ([#118](https://github.com/apache/maven-gh-actions-shared/pull/118)) @slawekjaranowski\\n- PR Automation - use pull_request_target in docs ([#117](https://github.com/apache/maven-gh-actions-shared/pull/117)) @slawekjaranowski\\n- Add Pull Request Automation documentation ([#113](https://github.com/apache/maven-gh-actions-shared/pull/113)) @slawekjaranowski\\n- Add info about Maven 4 ([#105](https://github.com/apache/maven-gh-actions-shared/pull/105)) @slawekjaranowski\\n- Introduce V3 version in documentation ([#51](https://github.com/apache/maven-gh-actions-shared/pull/51)) @slawekjaranowski\\n- Shared action v2 - more examples of configuration ([#27](https://github.com/apache/maven-gh-actions-shared/pull/27)) @slawekjaranowski\\n- Cleanup main branch ([#20](https://github.com/apache/maven-gh-actions-shared/pull/20)) @slawekjaranowski\\n- Add dependabot for GitHub Action updates ([#18](https://gith
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5.18.1/dist/index.js:7200:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5.18.1/dist/index.js:28491:18)
{
name: 'AggregateError',
event: {
id: '13029814688',
name: 'push',
payload: {
after: '83f951a2f09c725926f881b5c7f77d23d7b02296',
base_ref: null,
before: 'ca9978523bd69a9a1808fb269dff199d8c1ffe39',
commits: [
{
author: {
email: 's.jaranowski@gmail.com',
name: 'Slawomir Jaranowski',
username: 'slawekjaranowski'
},
committer: {
email: 's.jaranowski@gmail.com',
name: 'Slawomir Jaranowski',
username: 'slawekjaranowski'
},
distinct: true,
id: '83f951a2f09c725926f881b5c7f77d23d7b02296',
message: 'By default, filter releases by branches',
timestamp: '2025-01-29T11:58:19+01:00',
tree_id: '819936ee3da95019ebc8f84f85c6358388ec47b9',
url: 'https://github.com/apache/maven-gh-actions-shared/commit/83f951a2f09c725926f881b5c7f77d23d7b02296'
}
],
compare: 'https://github.com/apache/maven-gh-actions-shared/compare/ca9978523bd6...83f951a2f09c',
created: false,
deleted: false,
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/212555?v=4',
created_at: '2024-08-17T07:54:05Z',
description: null,
html_url: 'https://github.com/enterprises/the-asf',
id: 212555,
name: 'The ASF',
node_id: 'E_kgDOAAM-Sw',
slug: 'the-asf',
updated_at: '2025-01-20T13:33:19Z',
website_url: null
},
forced: false,
head_commit: {
author: {
email: 's.jaranowski@gmail.com',
name: 'Slawomir Jaranowski',
username: 'slawekjaranowski'
},
committer: {
email: 's.jaranowski@gmail.com',
name: 'Slawomir Jaranowski',
username: 'slawekjaranowski'
},
distinct: true,
id: '83f951a2f09c725926f881b5c7f77d23d7b02296',
message: 'By default, filter releases by branches',
timestamp: '2025-01-29T11:58:19+01:00',
tree_id: '819936ee3da95019ebc8f84f85c6358388ec47b9',
url: 'https://github.com/apache/maven-gh-actions-shared/commit/83f951a2f09c725926f881b5c7f77d23d7b02296'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/47359?v=4',
description: '',
events_url: 'https://api.github.com/orgs/apache/events',
hooks_url: 'https://api.github.com/orgs/apache/hooks',
id: 47359,
issues_url: 'https://api.github.com/orgs/apache/issues',
login: 'apache',
members_url: 'https://api.github.com/orgs/apache/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ3MzU5',
public_members_url: 'https://api.github.com/orgs/apache/public_members{/member}',
repos_url: 'https://api.github.com/orgs/apache/repos',
url: 'https://api.github.com/orgs/apache'
},
pusher: { email: 's.jaranowski@gmail.com', name: 'slawekjaranowski' },
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/apache/maven-gh-actions-shared/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/apache/maven-gh-actions-shared/assignees{/user}',
blobs_url: 'https://api.github.com/repos/apache/maven-gh-actions-shared/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/apache/maven-gh-actions-shared/branches{/branch}',
clone_url: 'https://github.com/apache/maven-gh-actions-shared.git',
collaborators_url: 'https://api.github.com/repos/apache/maven-gh-actions-s
|