Add release action #1
Annotations
2 errors
Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
{
name: 'HttpError',
id: '11680731231',
status: 422,
response: {
url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/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: 'Tue, 05 Nov 2024 08:59:27 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': '8CC4:29E895:27479A0:4C89ED4:6729DE6F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4988',
'x-ratelimit-reset': '1730800023',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'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/GispoCoding/arho-feature-template/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":"","name":"0.1.0","tag_name":"v0.1.0","body":"## Muutokset\\n\\n* No changes\\n\\n**Yksityiskohtaisempi muutosloki**: https://github.com/GispoCoding/arho-feature-template/compare/v0.1.0...v0.1.0\\n","draft":false,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11680731231',
name: 'push',
payload: {
after: '66d4197dbb5b16e0f794ea3668f68891a075d028',
base_ref: 'refs/heads/main',
before: '0000000000000000000000000000000000000000',
commits: [],
compare: 'https://github.com/GispoCoding/arho-feature-template/compare/v0.1.0',
created: true,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Lauri Kajan',
username: 'LKajan'
},
committer: {
email: '[email protected]',
name: 'Lauri Kajan',
username: 'LKajan'
},
distinct: true,
id: '66d4197dbb5b16e0f794ea3668f68891a075d028',
message: 'Add release action\n' +
'\n' +
'Draft a GitHub release when a PR is merged to main.\n' +
'Actual release happens by publishing the draft release in GitHub.',
timestamp: '2024-11-05T10:46:52+02:00',
tree_id: 'cccf9f88ec77169d3e0d24868c30f6ca75777dff',
url: 'https://github.com/GispoCoding/arho-feature-template/commit/66d4197dbb5b16e0f794ea3668f68891a075d028'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/34342178?v=4',
description: 'Open source geospatial technology',
events_url: 'https://api.github.com/orgs/GispoCoding/events',
hooks_u
|
HttpError: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
at /home/runner/work/_actions/release-drafter/release-drafter/master/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/master/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11680731231',
name: 'push',
payload: {
after: '66d4197dbb5b16e0f794ea3668f68891a075d028',
base_ref: 'refs/heads/main',
before: '0000000000000000000000000000000000000000',
commits: [],
compare: 'https://github.com/GispoCoding/arho-feature-template/compare/v0.1.0',
created: true,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Lauri Kajan',
username: 'LKajan'
},
committer: {
email: '[email protected]',
name: 'Lauri Kajan',
username: 'LKajan'
},
distinct: true,
id: '66d4197dbb5b16e0f794ea3668f68891a075d028',
message: 'Add release action\n' +
'\n' +
'Draft a GitHub release when a PR is merged to main.\n' +
'Actual release happens by publishing the draft release in GitHub.',
timestamp: '2024-11-05T10:46:52+02:00',
tree_id: 'cccf9f88ec77169d3e0d24868c30f6ca75777dff',
url: 'https://github.com/GispoCoding/arho-feature-template/commit/66d4197dbb5b16e0f794ea3668f68891a075d028'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/34342178?v=4',
description: 'Open source geospatial technology',
events_url: 'https://api.github.com/orgs/GispoCoding/events',
hooks_url: 'https://api.github.com/orgs/GispoCoding/hooks',
id: 34342178,
issues_url: 'https://api.github.com/orgs/GispoCoding/issues',
login: 'GispoCoding',
members_url: 'https://api.github.com/orgs/GispoCoding/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM0MzQyMTc4',
public_members_url: 'https://api.github.com/orgs/GispoCoding/public_members{/member}',
repos_url: 'https://api.github.com/orgs/GispoCoding/repos',
url: 'https://api.github.com/orgs/GispoCoding'
},
pusher: { email: '[email protected]', name: 'LKajan' },
ref: 'refs/tags/v0.1.0',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/assignees{/user}',
blobs_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/branches{/branch}',
clone_url: 'https://github.com/GispoCoding/arho-feature-template.git',
collaborators_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/comments{/number}',
commits_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/commits{/sha}',
compare_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/contents/{+path}',
contributors_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/contributors',
created_at: 1726041441,
custom_properties: {},
default_branch: 'main',
deployments_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/deployments',
description: null,
disabled: false,
downloads_url: 'https://api.github.com/repos/GispoCoding/arho-feature-template/downloads',
events_url: 'http
|
The logs for this run have expired and are no longer available.
Loading