Skip to content

feat: reuse report results. #271

feat: reuse report results.

feat: reuse report results. #271

Triggered via pull request June 16, 2023 19:57
@jvanzjvanz
synchronize #51
reuse-values
Status Success
Total duration 18s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

release-drafter.yml

on: pull_request
update_release_draft
9s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '5293719201', status: 422, response: { url: 'https://api.github.com/repos/kubewarden/audit-scanner/releases/86305222', 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': '193', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Fri, 16 Jun 2023 19:58:11 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-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': '7500:23A5:2229E0A:45AA30D:648CBED3', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14982', 'x-ratelimit-reset': '1686947926', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '18', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/reference/repos#update-a-release' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/kubewarden/audit-scanner/releases/86305222', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.16.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"- ClusterWide resources scan. (#48)\\n- ci: Ship CRDS.tar.gz as part of GH releases (#46)\\n- Configure Renovate (#3)\\n- Send audit AdmissionReview request to policy server. (#11)\\n- feat: Add CI \\\\& CD (#7)\\n- audit-scanner - MVP Stage 2 - find relevant Kubernetes resources defined inside of the given Namespace (#4)\\n- Audit scanner MVP1 (#2)\\n\\n## 🚀 Features\\n\\n- feat: Enhance PolicyReportResult fields (#50)\\n- feat: Set PolicyReportResult fields (#47)\\n- feat: Save reports to cluster, add new `--print` flag to print them as JSON (#42)\\n- feat: Add report package, print reports to stdout (#40)\\n\\n## 🐛 Bug Fixes\\n\\n- fix(deps): update module github.com/spf13/cobra to v1.7.0 (#32)\\n- fix(deps): update module github.com/rs/zerolog to v1.29.1 (#35)\\n- fix(deps): update module sigs.k8s.io/controller-runtime to v0.14.6 (#30)\\n- fix(deps): update kubernetes packages to v0.26.3 (#28)\\n- fix(deps): update kubernetes packages to v0.26.2 (#19)\\n- fix(deps): update module github.com/rs/zerolog to v1.29.0 (#21)\\n- fix(deps): update module sigs.k8s.io/controller-runtime to v0.14.5 (#22)\\n- fix(deps): update module github.com/spf13/cobra to v1.6.1 (#13)\\n\\n## 🧰 Maintenance\\n\\n- feat: Set PolicyReportResult fields (#47)\\n- chore(deps): update actions/checkout action to v3.5.3 (#49)\\n- chore(deps): update actions/checkout action to v3.5.2 (#34)\\n- chore(deps): update actions/checkout action to v3.5.0 (#29)\\n- chore(deps): update ossf/scorecard-action action to v2.1.3 (#31)\\n- chore(deps): update actions/setup-go action to v4 (#26)\\n- chore(deps): update actions/checkout action to v3.4.0 (#27)\\n- chore(deps): update kubewarden/github-actions action to v2 (#25)\\n- chore(deps): update docker/build-push-action action to v4 (#23)\\n- chore(deps): update golang docker tag to v1.20
update_release_draft
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: '5293719201', name: 'pull_request', payload: { action: 'synchronize', after: 'a3a02273748de8149796446faaee20f28f207808', before: 'da4fc62c6ecde2ba6a2fd368df46d79de7209011', 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-05-17T09:37:43Z', website_url: 'https://cncf.io' }, number: 51, 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/audit-scanner/issues/51/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/pulls/51/commits' }, html: { href: 'https://github.com/kubewarden/audit-scanner/pull/51' }, issue: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/issues/51' }, review_comment: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/pulls/51/comments' }, self: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/pulls/51' }, statuses: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/statuses/a3a02273748de8149796446faaee20f28f207808' } }, active_lock_reason: null, additions: 877, 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.com/users/jvanz/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/jvanz/subscriptions', type: 'User', url: 'https://api.github.com/users/jvanz' }, assignees: [ { avatar_url: 'https://avatars