feat: setup GHA to move major version tag #2
ci.release.yaml
on: pull_request
update-major-tag
4s
release
/
release
7s
Annotations
2 errors and 4 warnings
|
release / release
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:61885:18)
{
name: 'AggregateError',
event: {
id: '18340350361',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a7ac4811efb92587ba98eeadb625eeedaec9b98d',
before: 'c9e5350c7f380ee25789b72409a8e8abaf2c3208',
number: 59,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/18323687?v=4',
description: 'Take full control of your post-checkout customer experience.',
events_url: 'https://api.github.com/orgs/parcelLab/events',
hooks_url: 'https://api.github.com/orgs/parcelLab/hooks',
id: 18323687,
issues_url: 'https://api.github.com/orgs/parcelLab/issues',
login: 'parcelLab',
members_url: 'https://api.github.com/orgs/parcelLab/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE4MzIzNjg3',
public_members_url: 'https://api.github.com/orgs/parcelLab/public_members{/member}',
repos_url: 'https://api.github.com/orgs/parcelLab/repos',
url: 'https://api.github.com/orgs/parcelLab'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/parcelLab/ci/issues/59/comments'
},
commits: {
href: 'https://api.github.com/repos/parcelLab/ci/pulls/59/commits'
},
html: { href: 'https://github.com/parcelLab/ci/pull/59' },
issue: {
href: 'https://api.github.com/repos/parcelLab/ci/issues/59'
},
review_comment: {
href: 'https://api.github.com/repos/parcelLab/ci/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/parcelLab/ci/pulls/59/comments'
},
self: {
href: 'https://api.github.com/repos/parcelLab/ci/pulls/59'
},
statuses: {
href: 'https://api.github.com/repos/parcelLab/ci/statuses/a7ac4811efb92587ba98eeadb625eeedaec9b98d'
}
},
active_lock_reason: null,
additions: 58,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'parcelLab: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/parcelLab/ci/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/parcelLab/ci/assignees{/user}',
blobs_url: 'https://api.github.com/repos/parcelLab/ci/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/parcelLab/ci/branches{/branch}',
clone_url: 'https://github.com/parcelLab/ci.git',
collaborators_url: 'https://api.github.com/repos/parcelLab/ci/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/parcelLab/ci/comments{/number}',
commits_url: 'https://api.github.com/repos/parcelLab/ci/commits{/sha}',
compare_url: 'https://api.github.com/repos/parcelLab/ci/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/parcelLab/ci/contents/{+path}',
contributors_url: 'https://api.github.com/repos/parcelLab/ci/contributors',
created_at: '2023-01-26T22:09:03Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/parcelLab/ci/deployments',
|
|
release / release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '18340350361',
status: 422,
response: {
url: 'https://api.github.com/repos/parcelLab/ci/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: 'Wed, 08 Oct 2025 09:34:41 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': 'F402:1E1E5A:FDB6BA:4640E7A:68E63031',
'x-oauth-scopes': 'repo, write:packages',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4897',
'x-ratelimit-reset': '1759916899',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '103',
'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/parcelLab/ci/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.4 (linux; x64)',
'x-github-delivery': '18340350361',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/59/merge","name":"Release v8.2.7","tag_name":"v8.2.7","body":"* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '18340350361',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a7ac4811efb92587ba98eeadb625eeedaec9b98d',
before: 'c9e5350c7f380ee25789b72409a8e8abaf2c3208',
number: 59,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/18323687?v=4',
description: 'Take full control of your post-checkout customer experience.',
events_url: 'https://api.github.com/orgs/parcelLab/events',
hooks_url: 'https://api.github.com/orgs/parcelLab/hooks',
id: 18323687,
issues_url: 'https://api.github.com/orgs/parcelLab/issues',
login: 'parcelLab',
members_url: 'https://api.github.com/orgs/parcelLab/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE4MzIzNjg3',
public_members_url: 'https://api.github.com/orgs/parcelLab/public_members{/member}',
repos_url: 'https://api.github.com/orgs/parcelLab/repos',
url: 'https://api.github.com/orgs/parcelLab'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/parcelLab/ci/issues/59/comments'
},
commits: {
href: 'https://api.github.com/repos/parcelLab/ci/pulls/59/commits'
},
html: { href: 'https://github.com/parcelLab/ci/pull/59' },
issue: {
href: 'https://api.github.com/repos/parcelLab/ci/issues/59'
},
review_comment: {
href: 'https://api.github.com/repos/parcelLab/ci/pulls/comme
|
|
release / release
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
release / release
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
release / release
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
release / release
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|