Update Release Process #4
Annotations
2 errors
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7620659689',
status: 422,
response: {
url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 23 Jan 2024 03:30: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; 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': '5048:6AAB:443685:8D73FD:65AF32E5',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '992',
'x-ratelimit-reset': '1705984235',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '8',
'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'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/134/merge","name":"v1.1.7","tag_name":"v1.1.7","body":"## Other Changes\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: { retryCount: 1 }
},
event: {
id: '7620659689',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'd2c86b91a28419c9b3ffbac8ff6322d86d0848d7',
before: '6c8da791300267e83168dae7d78062c7dc977789',
number: 134,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/38217527?v=4',
description: 'HomeKit support for the impatient.',
events_url: 'https://api.github.com/orgs/homebridge/events',
hooks_url: 'https://api.github.com/orgs/homebridge/hooks',
id: 38217527,
issues_url: 'https://api.github.com/orgs/homebridge/issues',
login: 'homebridge',
members_url: 'https://api.github.com/orgs/homebridge/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM4MjE3NTI3',
public_members_url: 'https://api.github.com/orgs/homebridge/public_members{/member}',
repos_url: 'https://api.github.com/orgs/homebridge/repos',
url: 'https://api.github.com/orgs/homebridge'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/issues/134/comments'
},
commits: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/pulls/134/commits'
},
html: {
href: 'https://github.com/homebridge/homebridge-raspbian-image/pull/134'
},
issue: {
href: 'https://api.github.com/repos/homebridge/homebridge-rasp
|
Run release-drafter/release-drafter@v5
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '7620659689',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'd2c86b91a28419c9b3ffbac8ff6322d86d0848d7',
before: '6c8da791300267e83168dae7d78062c7dc977789',
number: 134,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/38217527?v=4',
description: 'HomeKit support for the impatient.',
events_url: 'https://api.github.com/orgs/homebridge/events',
hooks_url: 'https://api.github.com/orgs/homebridge/hooks',
id: 38217527,
issues_url: 'https://api.github.com/orgs/homebridge/issues',
login: 'homebridge',
members_url: 'https://api.github.com/orgs/homebridge/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM4MjE3NTI3',
public_members_url: 'https://api.github.com/orgs/homebridge/public_members{/member}',
repos_url: 'https://api.github.com/orgs/homebridge/repos',
url: 'https://api.github.com/orgs/homebridge'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/issues/134/comments'
},
commits: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/pulls/134/commits'
},
html: {
href: 'https://github.com/homebridge/homebridge-raspbian-image/pull/134'
},
issue: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/issues/134'
},
review_comment: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/pulls/134/comments'
},
self: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/pulls/134'
},
statuses: {
href: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/statuses/d2c86b91a28419c9b3ffbac8ff6322d86d0848d7'
}
},
active_lock_reason: null,
additions: 176,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'homebridge:latest',
ref: 'latest',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/assignees{/user}',
blobs_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/branches{/branch}',
clone_url: 'https://github.com/homebridge/homebridge-raspbian-image.git',
collaborators_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/comments{/number}',
commits_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/commits{/sha}',
compare_url: 'https://api.github.com/repos/homebridge/homebridge-raspbian-image/
|
The logs for this run have expired and are no longer available.
Loading