fix reading floats for integer inputs in regulation widget #5
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@master
Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
{
name: 'HttpError',
id: '12432936694',
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: 'Fri, 20 Dec 2024 14:14:25 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': '8844:25D21B:E46EB58:E87242E:67657BC1',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1734707597',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"","name":"0.5.0","tag_name":"v0.5.0","body":"## Muutokset\\n\\n* No changes\\n\\n**Yksityiskohtaisempi muutosloki**: https://github.com/GispoCoding/arho-feature-template/compare/v0.5.0...v0.5.0\\n","draft":false,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '12432936694',
name: 'push',
payload: {
after: '3b73c6153f6caedf88b5cc342aa10982a25b4a7e',
base_ref: 'refs/heads/main',
before: '0000000000000000000000000000000000000000',
commits: [],
compare: 'https://github.com/GispoCoding/arho-feature-template/compare/v0.5.0',
created: true,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Niko Aarnio',
username: 'nmaarnio'
},
committer: {
email: '[email protected]',
name: 'Lauri Kajan',
username: 'LKajan'
},
distinct: true,
id: '3b73c6153f6caedf88b5cc342aa10982a25b4a7e',
message: 'fix reading floats for integer inputs in regulation widget\n' +
'\n' +
'since all numeric values for regulations are saved as floats in the DB, regulation widget needs to recognize and accepts also float default values',
timestamp: '2024-12-20T16:13:01+02:00',
tree_id: '02a23ca41811d10854c5f0c4c006f46ba57d3353',
url: 'https://github.com/GispoCoding/arho-feature-template/commit/3b73c6153f6caedf88b5cc342aa10982a25b4a7e'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/34342178?v=4',
description: 'Open source geospatial technology',
events_url: 'http
|
Run release-drafter/release-drafter@master
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: '12432936694',
name: 'push',
payload: {
after: '3b73c6153f6caedf88b5cc342aa10982a25b4a7e',
base_ref: 'refs/heads/main',
before: '0000000000000000000000000000000000000000',
commits: [],
compare: 'https://github.com/GispoCoding/arho-feature-template/compare/v0.5.0',
created: true,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Niko Aarnio',
username: 'nmaarnio'
},
committer: {
email: '[email protected]',
name: 'Lauri Kajan',
username: 'LKajan'
},
distinct: true,
id: '3b73c6153f6caedf88b5cc342aa10982a25b4a7e',
message: 'fix reading floats for integer inputs in regulation widget\n' +
'\n' +
'since all numeric values for regulations are saved as floats in the DB, regulation widget needs to recognize and accepts also float default values',
timestamp: '2024-12-20T16:13:01+02:00',
tree_id: '02a23ca41811d10854c5f0c4c006f46ba57d3353',
url: 'https://github.com/GispoCoding/arho-feature-template/commit/3b73c6153f6caedf88b5cc342aa10982a25b4a7e'
},
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.5.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/GispoCodin
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading