skip steps if no version bump in publish workflow #926
Annotations
2 errors
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7287282275',
status: 422,
response: {
url: 'https://api.github.com/repos/prosopo/captcha/releases/122741916',
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: 'Thu, 21 Dec 2023 11:02:51 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': 'D086:88A7:69613C8:D90DC95:65841B5A',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '948',
'x-ratelimit-reset': '1703157383',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '52',
'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#update-a-release'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/prosopo/captcha/releases/122741916',
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: '{"body":"## What’s Changed\\n\\n* Fix package visibility (#924) @goastler\\n* Fix check version publish workflow (#923) @goastler\\n* Feature flagged mouse movement collection (#922) @HughParry\\n* Feature/no contract access by any (#920) @HughParry\\n* Drop mui (#897) @forgetso\\n* use nvmrc (#918) @goastler\\n* async ctor (#693) @goastler\\n* Provider details report check mongo connection (#908) @HughParry\\n* create consistent_versions check workflow (#916) @goastler\\n* 869 dump gha vars at start of each run for debugging (#899) @goastler\\n* safe math for contracts (#851) @goastler\\n* Fix deploy triggers (#914) @goastler\\n* Fix deploy triggers (#913) @goastler\\n* Fix deploy triggers (#898) @goastler\\n* Fix prettier ignore (#912) @goastler\\n* Typed linting (#909) @goastler\\n* replace tsnode with tsx in protocol/dev package (#902) @goastler\\n* 903 fix linting setup (#904) @goastler\\n* 895 fix bump version workflow not compiling typechain properly (#896) @goastler\\n* remove cache restore step from post_pr workflow (#894) @goastler\\n* Rename github bot (#891) @goastler\\n* added email and name config to git in bump_version workflow (#889) @goastler\\n* rename bump_version job (#888) @goastler\\n* Update JS URL (#886) @forgetso\\n* Bump version workflow (#881) @goastler\\n* use gh cli for publishing releases to gh (#884) @goastler\\n* Release workflow race conditions fix (#878) @goastler\\n* remove docker resource limits (#877) @goastler\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-69bfb61ac4f732f272f5","target_commitish":"refs/pull/925/merge"}',
request: {}
},
event: {
id: '7287282275',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '66666b3f3ffe8daea0e46825355627ee73c5a26d',
|
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: '7287282275',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '66666b3f3ffe8daea0e46825355627ee73c5a26d',
before: 'ea396ce3d3d336e9bbdc0291066502618588fea8',
number: 925,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84969805?v=4',
description: '',
events_url: 'https://api.github.com/orgs/prosopo/events',
hooks_url: 'https://api.github.com/orgs/prosopo/hooks',
id: 84969805,
issues_url: 'https://api.github.com/orgs/prosopo/issues',
login: 'prosopo',
members_url: 'https://api.github.com/orgs/prosopo/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg0OTY5ODA1',
public_members_url: 'https://api.github.com/orgs/prosopo/public_members{/member}',
repos_url: 'https://api.github.com/orgs/prosopo/repos',
url: 'https://api.github.com/orgs/prosopo'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/925/comments'
},
commits: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/925/commits'
},
html: { href: 'https://github.com/prosopo/captcha/pull/925' },
issue: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/925'
},
review_comment: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/925/comments'
},
self: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/925'
},
statuses: {
href: 'https://api.github.com/repos/prosopo/captcha/statuses/66666b3f3ffe8daea0e46825355627ee73c5a26d'
}
},
active_lock_reason: null,
additions: 11,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: '',
commit_title: 'skip steps if no version bump in publish workflow (#925)',
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/7059456?v=4',
events_url: 'https://api.github.com/users/goastler/events{/privacy}',
followers_url: 'https://api.github.com/users/goastler/followers',
following_url: 'https://api.github.com/users/goastler/following{/other_user}',
gists_url: 'https://api.github.com/users/goastler/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/goastler',
id: 7059456,
login: 'goastler',
node_id: 'MDQ6VXNlcjcwNTk0NTY=',
organizations_url: 'https://api.github.com/users/goastler/orgs',
received_events_url: 'https://api.github.com/users/goastler/received_events',
repos_url: 'https://api.github.com/users/goastler/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/goastler/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/goastler/subscriptions',
type: 'User',
url: 'https://api.github.com/users/goastler'
},
merge_method: 'squash'
},
base: {
label: 'prosopo:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge:
|
The logs for this run have expired and are no longer available.
Loading