Update CI to use SBT action #400
release-drafter.yml
on: pull_request
update_release_draft
3s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11546923561',
status: 422,
response: {
url: 'https://api.github.com/repos/sbt/sbt-jni/releases/156370612',
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: 'Mon, 28 Oct 2024 03:41:02 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': '14C6:35FE7F:38DEC0E:6BD853A:671F07CE',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1730090461',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/sbt/sbt-jni/releases/156370612',
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":"## Changed\\n\\n- Update scala3-compiler, scala3-library to 3.5.2 [#225](https://github.com/sbt/sbt-jni/pull/225) (@scala-steward)\\n- Update sbt, scripted-plugin to 1.10.3 [#223](https://github.com/sbt/sbt-jni/pull/223) (@scala-steward)\\n- add parentheses `PathFinder.get` [#222](https://github.com/sbt/sbt-jni/pull/222) (@xuwei-k)\\n- Update sbt-ci-release to 1.7.0 [#220](https://github.com/sbt/sbt-jni/pull/220) (@scala-steward)\\n- Update asm to 9.7.1 [#218](https://github.com/sbt/sbt-jni/pull/218) (@scala-steward)\\n- add explicit type for implicit def [#219](https://github.com/sbt/sbt-jni/pull/219) (@xuwei-k)\\n- Update scala-compiler, scala-library, ... to 2.13.15 [#217](https://github.com/sbt/sbt-jni/pull/217) (@scala-steward)\\n- Update scala3-compiler, scala3-library to 3.5.1 [#216](https://github.com/sbt/sbt-jni/pull/216) (@scala-steward)\\n- Update sbt, scripted-plugin to 1.10.2 [#215](https://github.com/sbt/sbt-jni/pull/215) (@scala-steward)\\n- Update scala-compiler, scala-library, ... to 2.12.20 [#214](https://github.com/sbt/sbt-jni/pull/214) (@scala-steward)\\n- Update scala3-compiler, scala3-library to 3.5.0 [#213](https://github.com/sbt/sbt-jni/pull/213) (@scala-steward)\\n- Update scala3-compiler, scala3-library to 3.4.3 [#211](https://github.com/sbt/sbt-jni/pull/211) (@scala-steward)\\n- Update scalafmt-core to 3.8.3 [#209](https://github.com/sbt/sbt-jni/pull/209) (@scala-steward)\\n- Update sbt, scripted-plugin to 1.10.1 [#208](https://github.com/sbt/sbt-jni/pull/208) (@scala-steward)\\n- Update scalatest to 3.2.19 [#207](https://github.com/sbt/sbt-jni/pull/207) (@scala-steward)\\n- Update scala3-compiler, scala3-library to 3.4.2 [#205](https://github.com/sbt/sbt-jni/pull/205) (@scala-steward)\\n","draft":true,"prerelease":fa
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11546923561',
name: 'pull_request',
payload: {
action: 'opened',
number: 226,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/1158012?v=4',
description: 'Community organization for all sbt plugin authors, sbt modules and sbt itself.',
events_url: 'https://api.github.com/orgs/sbt/events',
hooks_url: 'https://api.github.com/orgs/sbt/hooks',
id: 1158012,
issues_url: 'https://api.github.com/orgs/sbt/issues',
login: 'sbt',
members_url: 'https://api.github.com/orgs/sbt/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjExNTgwMTI=',
public_members_url: 'https://api.github.com/orgs/sbt/public_members{/member}',
repos_url: 'https://api.github.com/orgs/sbt/repos',
url: 'https://api.github.com/orgs/sbt'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/sbt/sbt-jni/issues/226/comments'
},
commits: {
href: 'https://api.github.com/repos/sbt/sbt-jni/pulls/226/commits'
},
html: { href: 'https://github.com/sbt/sbt-jni/pull/226' },
issue: {
href: 'https://api.github.com/repos/sbt/sbt-jni/issues/226'
},
review_comment: {
href: 'https://api.github.com/repos/sbt/sbt-jni/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/sbt/sbt-jni/pulls/226/comments'
},
self: {
href: 'https://api.github.com/repos/sbt/sbt-jni/pulls/226'
},
statuses: {
href: 'https://api.github.com/repos/sbt/sbt-jni/statuses/37db4c1e05afda85959a14646a84c2da4aa2d5e6'
}
},
active_lock_reason: null,
additions: 5,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'sbt:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/sbt/sbt-jni/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/sbt/sbt-jni/assignees{/user}',
blobs_url: 'https://api.github.com/repos/sbt/sbt-jni/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/sbt/sbt-jni/branches{/branch}',
clone_url: 'https://github.com/sbt/sbt-jni.git',
collaborators_url: 'https://api.github.com/repos/sbt/sbt-jni/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/sbt/sbt-jni/comments{/number}',
commits_url: 'https://api.github.com/repos/sbt/sbt-jni/commits{/sha}',
compare_url: 'https://api.github.com/repos/sbt/sbt-jni/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/sbt/sbt-jni/contents/{+path}',
contributors_url: 'https://api.github.com/repos/sbt/sbt-jni/contributors',
created_at: '2015-12-06T21:22:17Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/sbt/sbt-jni/deployments',
description: 'SBT Plugin to ease working with JNI',
disabled: false,
downloads_url: 'https://api.github.com/repos/sbt/sbt-jni/download
|