Merge pull request #200 from canonical/h3-toc #70
release-drafter.yml
on: push
get_version
2s
update_release_draft
5s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
{
name: 'HttpError',
id: '11705829945',
status: 422,
response: {
url: 'https://api.github.com/repos/canonical/canonicalwebteam.discourse/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: 'Wed, 06 Nov 2024 14:42:02 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': 'C0C4:2BDBA9:F676BA:F83989:672B8039',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14991',
'x-ratelimit-reset': '1730907217',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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/canonical/canonicalwebteam.discourse/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/main","name":"","tag_name":"5.7.3","body":"## Changes\\nInclude h3 to table of contents (#200)\\n## This release was made possible by the following contributors:\\n@britneywwc\\n","draft":false,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11705829945',
name: 'push',
payload: {
after: '79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8',
base_ref: null,
before: 'f658771fabe2f775d8941e0f33058fba1f0fd39a',
commits: [
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: '4c55cad07c21db7884f4a77b5a464244d7768cd5',
message: 'Include h3 to table of contents',
timestamp: '2024-11-06T15:40:17+01:00',
tree_id: 'b6222f0ca6a6dc52c48ba30ff33824a2853d975d',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/4c55cad07c21db7884f4a77b5a464244d7768cd5'
},
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8',
message: 'Merge pull request #200 from canonical/h3-toc\n' +
'\n' +
'Include h3
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11705829945',
name: 'push',
payload: {
after: '79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8',
base_ref: null,
before: 'f658771fabe2f775d8941e0f33058fba1f0fd39a',
commits: [
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: '4c55cad07c21db7884f4a77b5a464244d7768cd5',
message: 'Include h3 to table of contents',
timestamp: '2024-11-06T15:40:17+01:00',
tree_id: 'b6222f0ca6a6dc52c48ba30ff33824a2853d975d',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/4c55cad07c21db7884f4a77b5a464244d7768cd5'
},
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8',
message: 'Merge pull request #200 from canonical/h3-toc\n' +
'\n' +
'Include h3 to table of contents',
timestamp: '2024-11-06T15:41:37+01:00',
tree_id: 'b6222f0ca6a6dc52c48ba30ff33824a2853d975d',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8'
}
],
compare: 'https://github.com/canonical/canonicalwebteam.discourse/compare/f658771fabe2...79c84ff7f419',
created: false,
deleted: false,
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/103375?v=4',
created_at: '2023-12-11T08:42:36Z',
description: null,
html_url: 'https://github.com/enterprises/canonical',
id: 103375,
name: 'Canonical',
node_id: 'E_kgDOAAGTzw',
slug: 'canonical',
updated_at: '2024-10-21T08:16:43Z',
website_url: null
},
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8',
message: 'Merge pull request #200 from canonical/h3-toc\n' +
'\n' +
'Include h3 to table of contents',
timestamp: '2024-11-06T15:41:37+01:00',
tree_id: 'b6222f0ca6a6dc52c48ba30ff33824a2853d975d',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/79c84ff7f41921481d4e3ebb2b3cf55ae4af64c8'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/53057619?v=4',
description: '',
events_url: 'https://api.github.com/orgs/canonical/events',
hooks_url: 'https://api.github.com/orgs/canonical/hooks',
id: 53057619,
issues_url: 'https://api.github.com/orgs/canonical/issues',
login: 'canonical',
members_url: 'https://api.github.com/orgs/canonical/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjUzMDU3NjE5',
public_members_url: 'https://api.github.com/orgs/canonical/public_members{/member}',
repos_url:
|
get_version
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|