Merge pull request #197 from canonical/masked-links #68
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: '11380659632',
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: 'Thu, 17 Oct 2024 07:51:12 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': '29C4:1D3681:49B48B7:8D7EC39:6710C1F0',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14991',
'x-ratelimit-reset': '1729152683',
'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.2","body":"## Changes\\nRead href instead of string from masked links (#197)\\n## This release was made possible by the following contributors:\\n@britneywwc\\n","draft":false,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11380659632',
name: 'push',
payload: {
after: '26939982e382a802653433b44d617fc65da45272',
base_ref: null,
before: '49eee8f8a4ba2b398667a3623a45763370bd917b',
commits: [
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: 'cae74918dbd2275174d98240da87825e0e0c2827',
message: 'Read href from masked links',
timestamp: '2024-10-16T16:06:34+08:00',
tree_id: '8caa8d9452ea707c71e291e155b290336e88b6d8',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/cae74918dbd2275174d98240da87825e0e0c2827'
},
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: 'a47b736dda0faaedb196c3fa7ba8651484ad11fd',
message: 'Add fallback checks for non-anchor tags',
timestamp: '2024-10-17T15:10:5
|
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: '11380659632',
name: 'push',
payload: {
after: '26939982e382a802653433b44d617fc65da45272',
base_ref: null,
before: '49eee8f8a4ba2b398667a3623a45763370bd917b',
commits: [
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: 'cae74918dbd2275174d98240da87825e0e0c2827',
message: 'Read href from masked links',
timestamp: '2024-10-16T16:06:34+08:00',
tree_id: '8caa8d9452ea707c71e291e155b290336e88b6d8',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/cae74918dbd2275174d98240da87825e0e0c2827'
},
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: 'a47b736dda0faaedb196c3fa7ba8651484ad11fd',
message: 'Add fallback checks for non-anchor tags',
timestamp: '2024-10-17T15:10:57+08:00',
tree_id: '8c83c3f241c335747902f2eda59e47f1dd14c0da',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/a47b736dda0faaedb196c3fa7ba8651484ad11fd'
},
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
distinct: false,
id: 'fed2acb8343c58e893e21d0be3a3caef6b28b2ca',
message: 'Refactor tag name',
timestamp: '2024-10-17T15:49:56+08:00',
tree_id: '5f7ba30425f0cbf13d98e7acdd5fb3e722f2257c',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/fed2acb8343c58e893e21d0be3a3caef6b28b2ca'
},
{
author: {
email: '[email protected]',
name: 'Britney Wang',
username: 'britneywwc'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '26939982e382a802653433b44d617fc65da45272',
message: 'Merge pull request #197 from canonical/masked-links\n' +
'\n' +
'Read href instead of string from masked links',
timestamp: '2024-10-17T15:50:51+08:00',
tree_id: '5f7ba30425f0cbf13d98e7acdd5fb3e722f2257c',
url: 'https://github.com/canonical/canonicalwebteam.discourse/commit/26939982e382a802653433b44d617fc65da45272'
}
],
compare: 'https://github.com/canonical/canonicalwebteam.discourse/compare/49eee8f8a4ba...26939982e382',
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-09-10T15:42:45Z',
website_url: n
|
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/
|