Update workflow to check for more types #306
release-drafter.yml
on: push
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not a valid tag"}, {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not well-formed"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}
{
name: 'HttpError',
id: '10793512333',
status: 422,
response: {
url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/releases/174338021',
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': '431',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 10 Sep 2024 13:29:46 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',
'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': '6FC5:3CB912:CFDE39:1976977:66E049CA',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4978',
'x-ratelimit-reset': '1725977602',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '22',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'custom',
field: 'tag_name',
message: 'tag_name is not a valid tag'
},
{
resource: 'Release',
code: 'custom',
field: 'tag_name',
message: 'tag_name is not well-formed'
},
{
resource: 'Release',
code: 'custom',
message: 'Published releases must have a valid tag'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/releases/174338021',
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: `{"body":"## Changes\\n## Maintenance\\n\\n- Update GitHub Actions by @AdamJ in #277\\n\\n**Contributors**\\n@AdamJ\\n\\n**Previously:**\\n[v7.23.1](https://github.com/AdamJ/AdamJ.github.io/releases/tag/v7.23.1)\\n[All Tags](https://github.com/AdamJ/AdamJ.github.io/tags)\\n[All Releases](https://github.com/AdamJ/AdamJ.github.io/releases)\\n","draft":false,"prerelease":false,"make_latest":"true","name":"'v'7.23.2'\\n- Next Major: $NEXT_MAJOR_VERSION\\n- Next Minor: $NEXT_MINOR_VERSION\\n- Next Patch: $NEXT_PATCH_VERSION\\n'\\n\\n**Draft for release**\\n$CHANGES\\n","tag_name":"'v'7.23.2'\\n- Next Major: $NEXT_MAJOR_VERSION\\n- Next Minor: $NEXT_MINOR_VERSION\\n- Next Patch: $NEXT_PATCH_VERSION\\n'\\n\\n**Draft for release**\\n$CHANGES\\n","target_commitish":"refs/heads/main"}`,
request: {}
},
event: {
id: '10793512333',
name: 'push',
payload: {
after: '53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4',
base_ref: null,
before: '3a92193f218e573bb37fb9c37eb3eea78e48fb9f',
commits: [
{
author: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not a valid tag"}, {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not well-formed"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}
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: '10793512333',
name: 'push',
payload: {
after: '53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4',
base_ref: null,
before: '3a92193f218e573bb37fb9c37eb3eea78e48fb9f',
commits: [
{
author: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
committer: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
distinct: true,
id: 'bed4044ac5488ee8c0363d0086a4d4fefede429a',
message: 'Update Release Drafter',
timestamp: '2024-09-10T09:29:33-04:00',
tree_id: 'e80703e6b6bd194607301ccedb1a4b53be4f6ee2',
url: 'https://github.com/AdamJ/AdamJ.github.io/commit/bed4044ac5488ee8c0363d0086a4d4fefede429a'
},
{
author: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
committer: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
distinct: true,
id: '3feaf5e24bda539e633cbfacb38231653236fb9d',
message: 'Add Name and Tag templates for drafts',
timestamp: '2024-09-10T09:29:33-04:00',
tree_id: '7a4db44f028cf26e188e3de7b1a93ee7dd75d9c5',
url: 'https://github.com/AdamJ/AdamJ.github.io/commit/3feaf5e24bda539e633cbfacb38231653236fb9d'
},
{
author: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
committer: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
distinct: true,
id: '53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4',
message: 'Update workflow to check for more types',
timestamp: '2024-09-10T09:29:33-04:00',
tree_id: '3a523e2b605026301fcd6c4dc39cc57776c0d6bb',
url: 'https://github.com/AdamJ/AdamJ.github.io/commit/53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4'
}
],
compare: 'https://github.com/AdamJ/AdamJ.github.io/compare/3a92193f218e...53ca8e22c3ee',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
committer: {
email: '[email protected]',
name: 'Adam Jolicoeur',
username: 'AdamJ'
},
distinct: true,
id: '53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4',
message: 'Update workflow to check for more types',
timestamp: '2024-09-10T09:29:33-04:00',
tree_id: '3a523e2b605026301fcd6c4dc39cc57776c0d6bb',
url: 'https://github.com/AdamJ/AdamJ.github.io/commit/53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4'
},
pusher: { email: '[email protected]', name: 'AdamJ' },
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/a
|