[RECUR-186] Deploy versioned API specs #114
Annotations
2 errors
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10084424152',
status: 422,
response: {
url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 24 Jul 2024 21:40:44 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': '7020:10AFE4:1655175:29A3333:66A174DC',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14955',
'x-ratelimit-reset': '1721859103',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '45',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/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/pull/137/merge","name":"2.18.2","tag_name":"2.18.2","body":"## What's Changed\\n\\n* No changes\\n\\n**Full Changelog**: https://github.com/Andrews-McMeel-Universal/reusable_workflows/compare/2.18.1...2.18.2\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '10084424152',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a82abf054c3e1e043a8050bfdb11b7d09c3a24fa',
before: 'b9f48c1806b8f63773e496108cb255624261615b',
number: 137,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/61364335?v=4',
description: 'Digital Technology is an AMU division comprised of very talented and versatile software engineers who maintain all digital properties and infrastructure',
events_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/events',
hooks_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/hooks',
id: 61364335,
issues_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/issues',
login: 'Andrews-McMeel-Universal',
members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYxMzY0MzM1',
public_members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/repos',
url: 'https://api.github.com/orgs/Andrews-McMeel-Universal'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflow
|
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '10084424152',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a82abf054c3e1e043a8050bfdb11b7d09c3a24fa',
before: 'b9f48c1806b8f63773e496108cb255624261615b',
number: 137,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/61364335?v=4',
description: 'Digital Technology is an AMU division comprised of very talented and versatile software engineers who maintain all digital properties and infrastructure',
events_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/events',
hooks_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/hooks',
id: 61364335,
issues_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/issues',
login: 'Andrews-McMeel-Universal',
members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYxMzY0MzM1',
public_members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/repos',
url: 'https://api.github.com/orgs/Andrews-McMeel-Universal'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/issues/137/comments'
},
commits: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/137/commits'
},
html: {
href: 'https://github.com/Andrews-McMeel-Universal/reusable_workflows/pull/137'
},
issue: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/issues/137'
},
review_comment: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/137/comments'
},
self: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/137'
},
statuses: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/statuses/a82abf054c3e1e043a8050bfdb11b7d09c3a24fa'
}
},
active_lock_reason: null,
additions: 47,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'Andrews-McMeel-Universal:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/branches{/branch}',
clone_url: 'https://github.com/Andrews-McMeel-Universal/reusable_workflows.git',
collaborators_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/
|
This job succeeded
Loading