Refactor CI workflow to include com.ing organization in Sonatype release #29
Annotations
2 errors and 1 warning
Publish release notes
Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
{
name: 'HttpError',
id: '10996814904',
status: 422,
response: {
url: 'https://api.github.com/repos/ing-bank/baker/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': '209',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 23 Sep 2024 14:51:20 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': '1803:9F686:393F3DE:39CDFC3:66F18067',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4997',
'x-ratelimit-reset': '1727106678',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '3',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'already_exists',
field: 'tag_name'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/ing-bank/baker/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/heads/fix-release-pipeline","name":"vrefs/heads/fix-release-pipeline","tag_name":"vrefs/heads/fix-release-pipeline","body":"## What's Changed\\n\\n* No changes\\n","draft":false,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '10996814904',
name: 'push',
payload: {
after: '4cdad8eb8085da333323d5aaa71e74f503a695ea',
base_ref: null,
before: 'ecfca9992bf2ed75d5de6cb97fe98d271f8cd1aa',
commits: [
{
author: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
committer: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
distinct: true,
id: 'a52c9a5da97c82acade4d0e3ee2f60026d77497c',
message: 'Refactor organization in build.sbt and Publish.scala to use com.ing.baker',
timestamp: '2024-09-23T16:40:11+02:00',
tree_id: 'a2d590332c55ba4d561e40ac3f30f8624e38e076',
url: 'https://github.com/ing-bank/baker/commit/a52c9a5da97c82acade4d0e3ee2f60026d77497c'
},
{
author: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
committer: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
distinct: true,
id: '4cdad8eb8085da333323d5aaa71e74f503a695ea',
message: 'Refactor CI workflow to include com.ing organization in Sonatype release',
timestamp: '2024-09-23T16:46:19+02:00',
tree_id: 'ab69221aa48a9fcf69f1c329ad5c89c6a12fea
|
Publish release notes
HttpError: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
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: '10996814904',
name: 'push',
payload: {
after: '4cdad8eb8085da333323d5aaa71e74f503a695ea',
base_ref: null,
before: 'ecfca9992bf2ed75d5de6cb97fe98d271f8cd1aa',
commits: [
{
author: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
committer: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
distinct: true,
id: 'a52c9a5da97c82acade4d0e3ee2f60026d77497c',
message: 'Refactor organization in build.sbt and Publish.scala to use com.ing.baker',
timestamp: '2024-09-23T16:40:11+02:00',
tree_id: 'a2d590332c55ba4d561e40ac3f30f8624e38e076',
url: 'https://github.com/ing-bank/baker/commit/a52c9a5da97c82acade4d0e3ee2f60026d77497c'
},
{
author: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
committer: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
distinct: true,
id: '4cdad8eb8085da333323d5aaa71e74f503a695ea',
message: 'Refactor CI workflow to include com.ing organization in Sonatype release',
timestamp: '2024-09-23T16:46:19+02:00',
tree_id: 'ab69221aa48a9fcf69f1c329ad5c89c6a12fea83',
url: 'https://github.com/ing-bank/baker/commit/4cdad8eb8085da333323d5aaa71e74f503a695ea'
}
],
compare: 'https://github.com/ing-bank/baker/compare/ecfca9992bf2...4cdad8eb8085',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
committer: {
email: '[email protected]',
name: 'Bekir Oguz',
username: 'bekiroguz'
},
distinct: true,
id: '4cdad8eb8085da333323d5aaa71e74f503a695ea',
message: 'Refactor CI workflow to include com.ing organization in Sonatype release',
timestamp: '2024-09-23T16:46:19+02:00',
tree_id: 'ab69221aa48a9fcf69f1c329ad5c89c6a12fea83',
url: 'https://github.com/ing-bank/baker/commit/4cdad8eb8085da333323d5aaa71e74f503a695ea'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/13854005?v=4',
description: 'ING Open-source projects',
events_url: 'https://api.github.com/orgs/ing-bank/events',
hooks_url: 'https://api.github.com/orgs/ing-bank/hooks',
id: 13854005,
issues_url: 'https://api.github.com/orgs/ing-bank/issues',
login: 'ing-bank',
members_url: 'https://api.github.com/orgs/ing-bank/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjEzODU0MDA1',
public_members_url: 'https://api.github.com/orgs/ing-bank/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ing-bank/repos',
url: 'https://api.github.com/orgs/ing-bank'
},
pusher: { email: '[email protected]', name: 'bekiroguz' },
ref: 'refs/heads/fix-release-pipeline',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/ing-bank/baker/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ing-bank/baker/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ing-bank/baker/git/blobs{/sha}',
branches_url: 'https://
|
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading