ES-2153 - Added support for multiple files and for updating default parameters #768
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8646131551',
status: 422,
response: {
url: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/releases/146450723',
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, 11 Apr 2024 11:45:17 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': '4806:5D11:44FAA4:6FBB6B:6617CD4D',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14985',
'x-ratelimit-reset': '1712839219',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '15',
'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/BESTSELLER/dependabot-circleci/releases/146450723',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n## Dependencies 📌\\n\\n- Bump @bestsellerit/cci-common from 3.0.0 to 3.1.0 @dependabot-circleci (#425)\\n- Bump github.com/palantir/go-githubapp from 0.23.0 to 0.24.1 @dependabot (#419)\\n- Bump hashicorp/google from 5.19.0 to 5.23.0 in /terraform @dependabot (#424)\\n- Bump hashicorp/google-beta from 5.19.0 to 5.23.0 in /terraform @dependabot (#423)\\n- Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.61.0 to 1.62.0 @dependabot (#422)\\n- Bump github.com/CircleCI-Public/circleci-cli from 0.1.30401 to 0.1.30549 @dependabot (#420)\\n- Bump google.golang.org/api from 0.168.0 to 0.172.0 @dependabot (#421)\\n- Bump github.com/google/go-containerregistry from 0.19.0 to 0.19.1 @dependabot (#418)\\n- Bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible @dependabot (#417)\\n- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 @dependabot (#416)\\n\\n**Full Changelog**: https://github.com/BESTSELLER/dependabot-circleci/compare/1.3.2...1.3.3\\n","draft":true,"prerelease":false,"make_latest":"true","name":"1.3.3","tag_name":"1.3.3","target_commitish":"refs/pull/426/merge"}',
request: {}
},
event: {
id: '8646131551',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a91467614a1b7f53e67096385922c8c36d6892dd',
before: '04ac81fb46aff017e150319a31b06770e8dd8790',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/4775?v=4',
created_at: '2020-12-02T07:47:08Z',
description: null,
html_url: 'https://github.com/enterprises/bestseller',
id: 4775,
name: 'BESTSELLER ',
node_id: 'MDEwOkVudGVycHJpc2U0Nzc1',
slug: 'bestseller',
updated_at: '2023-09-14T14:33:04Z',
websi
|
update_release_draft
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: '8646131551',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a91467614a1b7f53e67096385922c8c36d6892dd',
before: '04ac81fb46aff017e150319a31b06770e8dd8790',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/4775?v=4',
created_at: '2020-12-02T07:47:08Z',
description: null,
html_url: 'https://github.com/enterprises/bestseller',
id: 4775,
name: 'BESTSELLER ',
node_id: 'MDEwOkVudGVycHJpc2U0Nzc1',
slug: 'bestseller',
updated_at: '2023-09-14T14:33:04Z',
website_url: null
},
number: 426,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/55388046?v=4',
description: '',
events_url: 'https://api.github.com/orgs/BESTSELLER/events',
hooks_url: 'https://api.github.com/orgs/BESTSELLER/hooks',
id: 55388046,
issues_url: 'https://api.github.com/orgs/BESTSELLER/issues',
login: 'BESTSELLER',
members_url: 'https://api.github.com/orgs/BESTSELLER/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU1Mzg4MDQ2',
public_members_url: 'https://api.github.com/orgs/BESTSELLER/public_members{/member}',
repos_url: 'https://api.github.com/orgs/BESTSELLER/repos',
url: 'https://api.github.com/orgs/BESTSELLER'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/issues/426/comments'
},
commits: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/pulls/426/commits'
},
html: {
href: 'https://github.com/BESTSELLER/dependabot-circleci/pull/426'
},
issue: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/issues/426'
},
review_comment: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/pulls/426/comments'
},
self: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/pulls/426'
},
statuses: {
href: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/statuses/a91467614a1b7f53e67096385922c8c36d6892dd'
}
},
active_lock_reason: null,
additions: 312,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'BESTSELLER:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/assignees{/user}',
blobs_url: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/branches{/branch}',
clone_url: 'https://github.com/BESTSELLER/dependabot-circleci.git',
collaborators_url: 'https://api.github.com/repos/BESTSELLER/dependabot-circleci/collaborators{/collaborator}'
|