feat: create root ca. #2237
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6004867994',
status: 422,
response: {
url: 'https://api.github.com/repos/kubewarden/kubewarden-controller/releases/110245203',
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: 'Mon, 28 Aug 2023 20:58:21 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': '35C7:16D5:24EEA72:4B70A44:64ED0A6D',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14977',
'x-ratelimit-reset': '1693259169',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '23',
'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/kubewarden/kubewarden-controller/releases/110245203',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"- ci: Fix e2e tests, no need for `id-token` write perms for them (#491)\\n- automation(renovate): pin GH actions by digest (#489)\\n- New SBOM generation process (#487)\\n- Update docs for v1.7.0-rc1 release. (#475)\\n\\n## 🚀 Features\\n\\n- fix: updates cosign to v2. (#477)\\n- Feat audit branch merge (#474)\\n\\n## 🐛 Bug Fixes\\n\\n- fix: formats README using Prettier. (#495)\\n- fix: enable release candidates when required (#486)\\n- fix: GH action, reuse actions from the same checkout (#485)\\n- fix: publish release drafter draft release. (#476)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): update actions/checkout digest to f43a0e5 (#509)\\n- chore(deps): update golangci/golangci-lint-action digest to 3a91952 (#507)\\n- chore(deps): update actions/setup-go digest to 93397be (#506)\\n- chore(deps): pin dependencies (#490)\\n- chore(deps): use version tag instead of commit ref. (#459)\\n- chore(deps): update peter-evans/repository-dispatch digest to 02f5adb (#453)\\n- chore(deps): update peter-evans/repository-dispatch digest to 33c1568 (#447)\\n","draft":true,"prerelease":false,"name":"v1.7.0","tag_name":"untagged-972d8119e80009202e92","target_commitish":"refs/pull/510/merge"}',
request: {}
},
event: {
id: '6004867994',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '## Description\r\n' +
'\r\n' +
'Updates the controller to create the root ca used in all the certificates used by the Kubewarden stack.\r\n' +
'\r\n'
}
},
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/9995?v=4',
created_at: '2021-11-03T14:57:36Z',
description: '',
html_url:
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/65c5fb495d1e69aa8c08a3317bc44ff8aabe9772/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/65c5fb495d1e69aa8c08a3317bc44ff8aabe9772/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '6004867994',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '## Description\r\n' +
'\r\n' +
'Updates the controller to create the root ca used in all the certificates used by the Kubewarden stack.\r\n' +
'\r\n'
}
},
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/9995?v=4',
created_at: '2021-11-03T14:57:36Z',
description: '',
html_url: 'https://github.com/enterprises/cncf',
id: 9995,
name: 'Cloud Native Computing Foundation',
node_id: 'E_kgDNJws',
slug: 'cncf',
updated_at: '2023-08-17T09:33:45Z',
website_url: 'https://cncf.io'
},
number: 510,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/80915497?v=4',
description: '',
events_url: 'https://api.github.com/orgs/kubewarden/events',
hooks_url: 'https://api.github.com/orgs/kubewarden/hooks',
id: 80915497,
issues_url: 'https://api.github.com/orgs/kubewarden/issues',
login: 'kubewarden',
members_url: 'https://api.github.com/orgs/kubewarden/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjgwOTE1NDk3',
public_members_url: 'https://api.github.com/orgs/kubewarden/public_members{/member}',
repos_url: 'https://api.github.com/orgs/kubewarden/repos',
url: 'https://api.github.com/orgs/kubewarden'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/issues/510/comments'
},
commits: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/pulls/510/commits'
},
html: {
href: 'https://github.com/kubewarden/kubewarden-controller/pull/510'
},
issue: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/issues/510'
},
review_comment: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/pulls/510/comments'
},
self: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/pulls/510'
},
statuses: {
href: 'https://api.github.com/repos/kubewarden/kubewarden-controller/statuses/b11a55fda0c277f88cb53f6a1fa8f6d60ad3c58b'
}
},
active_lock_reason: null,
additions: 1067,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/1514798?v=4',
events_url: 'https://api.github.com/users/jvanz/events{/privacy}',
followers_url: 'https://api.github.com/users/jvanz/followers',
following_url: 'https://api.github.com/users/jvanz/following{/other_user}',
gists_url: 'https://api.github.com/users/jvanz/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/jvanz',
id: 1514798,
login: 'jvanz',
node_id: 'MDQ6VXNlcjE1MTQ3OTg=',
organizations_url: 'https://api.github.com/users/jvanz/orgs',
received_events_url: 'https://api.github.com/users/jvanz/received_events',
repos_url: 'https://api.github.com/users/jvanz/repos',
site_admin: false,
starred_url: 'https://api.github
|