Update sbt-ci-release to 1.9.0 #282
draft.yml
on: pull_request
update_release_draft
7s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11451703161',
status: 422,
response: {
url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/releases/179043523',
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: 'Tue, 22 Oct 2024 01:46:52 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': '2C06:266590:654437D:661BA76:6717040C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1729565208',
'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/guizmaii-opensource/sbt-datadog/releases/179043523',
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":"# What's Changed\\n\\n* Update sbt-ci-release to 1.8.0 (#160) @guizmaii\\n* Update zio to 2.1.11 (#161) @guizmaii\\n* Update opentelemetry-api to 1.43.0 (#162) @guizmaii\\n* Update scala-library to 2.13.15 (#156) @guizmaii\\n* Update scala3-library to 3.3.4 (#157) @guizmaii\\n* Bump scala-steward-org/scala-steward-action from 2.69.0 to 2.70.0 (#158) @dependabot\\n","draft":true,"prerelease":false,"make_latest":"true","name":"5.1.0","tag_name":"5.1.0","target_commitish":"refs/pull/165/merge"}`,
request: {}
},
event: {
id: '11451703161',
name: 'pull_request',
payload: {
action: 'opened',
number: 165,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/143508362?v=4',
description: "@guizmaii's open-source projects",
events_url: 'https://api.github.com/orgs/guizmaii-opensource/events',
hooks_url: 'https://api.github.com/orgs/guizmaii-opensource/hooks',
id: 143508362,
issues_url: 'https://api.github.com/orgs/guizmaii-opensource/issues',
login: 'guizmaii-opensource',
members_url: 'https://api.github.com/orgs/guizmaii-opensource/members{/member}',
node_id: 'O_kgDOCI3Dig',
public_members_url: 'https://api.github.com/orgs/guizmaii-opensource/public_members{/member}',
repos_url: 'https://api.github.com/orgs/guizmaii-opensource/repos',
url: 'https://api.github.com/orgs/guizmaii-opensource'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/issues/165/comments'
},
commits: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datad
|
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: '11451703161',
name: 'pull_request',
payload: {
action: 'opened',
number: 165,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/143508362?v=4',
description: "@guizmaii's open-source projects",
events_url: 'https://api.github.com/orgs/guizmaii-opensource/events',
hooks_url: 'https://api.github.com/orgs/guizmaii-opensource/hooks',
id: 143508362,
issues_url: 'https://api.github.com/orgs/guizmaii-opensource/issues',
login: 'guizmaii-opensource',
members_url: 'https://api.github.com/orgs/guizmaii-opensource/members{/member}',
node_id: 'O_kgDOCI3Dig',
public_members_url: 'https://api.github.com/orgs/guizmaii-opensource/public_members{/member}',
repos_url: 'https://api.github.com/orgs/guizmaii-opensource/repos',
url: 'https://api.github.com/orgs/guizmaii-opensource'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/issues/165/comments'
},
commits: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/pulls/165/commits'
},
html: {
href: 'https://github.com/guizmaii-opensource/sbt-datadog/pull/165'
},
issue: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/issues/165'
},
review_comment: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/pulls/165/comments'
},
self: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/pulls/165'
},
statuses: {
href: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/statuses/84954299331a9a0d30a3d874c8a21c6847238fc9'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'guizmaii-opensource:main',
ref: 'main',
repo: {
allow_auto_merge: false,
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/guizmaii-opensource/sbt-datadog/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/assignees{/user}',
blobs_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/branches{/branch}',
clone_url: 'https://github.com/guizmaii-opensource/sbt-datadog.git',
collaborators_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/comments{/number}',
commits_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/commits{/sha}',
compare_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/guizmaii-opensource/sbt-datadog/contents/{+path}'
|