Skip to content

refactor!: Rename --print flag to --output-scan #758

refactor!: Rename --print flag to --output-scan

refactor!: Rename --print flag to --output-scan #758

Triggered via pull request November 23, 2023 16:14
Status Success
Total duration 20s
Artifacts

release-drafter.yml

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

Annotations

3 errors
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6972126050', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/audit-scanner/issues/103/labels', status: 403, 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-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 23 Nov 2023 16:14:36 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'issues=write; pull_requests=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': '080D:945F:1BAB798:395D31B:655F7A6B', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14989', 'x-ratelimit-reset': '1700759672', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '11', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue' } }, request: { method: 'POST', url: 'https://api.github.com/repos/kubewarden/audit-scanner/issues/103/labels', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"labels":["kind/breaking-change"]}', request: {} }, event: { id: '6972126050', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Description\r\n' + '\r\n' + '<!-- Please provide the link to the GitHub issue you are addressing -->\r\n' + 'Relates to https://github.com/kubewarden/helm-charts/pull/282.\r\n' + '\r\n' + '<!-- Please provide the link to the documentation related to your change, if applicable -->\r\n' + '<!-- [Documentation](https://<insert your url>) -->\r\n' + '\r\n' + '## Test\r\n' + '\r\n' + 'No need.\r\n' + '\r\n' + '## Additional Information\r\n' + '\r\n' + 'This signifies that using `--output-scan` can be consumed by end users.\r\n' + "I have checked the source code to ensure that the audit-scanner binary doesn't print to stdout or stderr in a way that isn't JSON formatted (unless it suddenly catches a panic and one gets an exception).\r\n" + 'Also, the current config of `golangci-lint` forbids `fmt.Println` and the like.\r\n' + '\r\n' + 'This should provide reasonable certainty that stdout can be consumed by end users.\r\n' + '\r\n' + '### Tradeoff\r\n' + '\r\n' + '<!-- Please describe, if any, the tradeoffs that you found acceptable in this pull request -->\r\n' + '\r\n' + '### Potential improvement\r\n' + '\r\n' + '<!-- Please describe, if any, potential improvement that you are envisioning -->\r\n' + '\r\n' } }, enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/9995?v=4', created_at
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6972126050', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/audit-scanner/releases', status: 403, 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-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 23 Nov 2023 16:14:38 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write; contents=write,workflows=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': '080F:4797:1A2B04B:3667873:655F7A6D', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14988', 'x-ratelimit-reset': '1700759672', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '12', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release' } }, request: { method: 'POST', url: 'https://api.github.com/repos/kubewarden/audit-scanner/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/heads/main","name":"v1.9.1","tag_name":"","body":"## 🐛 Bug Fixes\\n\\n- fix(deps): update kubernetes packages to v0.28.4 (#145)\\n- fix(deps): update module github.com/spf13/cobra to v1.8.0 (#142)\\n- fix(deps): update module github.com/kubewarden/kubewarden-controller to v1.9.0 (#141)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): update actions/github-script action to v7.0.1 (#147)\\n- chore(deps): update docker/build-push-action action to v5.1.0 (#146)\\n- fix(deps): update kubernetes packages to v0.28.4 (#145)\\n- chore(deps): update actions/github-script action to v7 (#144)\\n- fix(deps): update module github.com/spf13/cobra to v1.8.0 (#142)\\n- chore(deps): update sigstore/cosign-installer action to v3.2.0 (#143)\\n- fix(deps): update module github.com/kubewarden/kubewarden-controller to v1.9.0 (#141)\\n","draft":true,"prerelease":false}', request: { retryCount: 1 } }, event: { id: '6972126050', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Description\r\n' + '\r\n' + '<!-- Please provide the link to the GitHub issue you are addressing -->\r\n' + 'Relates to https://github.com/kubewarden/helm-charts/pull/282.\r\n' + '\r\n' + '<!-- Please provide the link to the documentation related to your change, if applicable -->\r\n' + '<!-- [Documentation](https://<insert your url>) -->\r\n' + '\r\n' + '## Test\r\n' + '\r\n' + 'No need.\r\n' + '\r\n' + '## Additional Information\r\n' + '\r\n' + 'This signifies that using `--output-scan` can be consumed by end users.\r\n' + "I have checked the source code to ensure that the audit-scanner binary doesn't print to stdout or stderr in a w
update_release_draft
HttpError: Resource not accessible by integration 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) HttpError: Resource not accessible by integration 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: '6972126050', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Description\r\n' + '\r\n' + '<!-- Please provide the link to the GitHub issue you are addressing -->\r\n' + 'Relates to https://github.com/kubewarden/helm-charts/pull/282.\r\n' + '\r\n' + '<!-- Please provide the link to the documentation related to your change, if applicable -->\r\n' + '<!-- [Documentation](https://<insert your url>) -->\r\n' + '\r\n' + '## Test\r\n' + '\r\n' + 'No need.\r\n' + '\r\n' + '## Additional Information\r\n' + '\r\n' + 'This signifies that using `--output-scan` can be consumed by end users.\r\n' + "I have checked the source code to ensure that the audit-scanner binary doesn't print to stdout or stderr in a way that isn't JSON formatted (unless it suddenly catches a panic and one gets an exception).\r\n" + 'Also, the current config of `golangci-lint` forbids `fmt.Println` and the like.\r\n' + '\r\n' + 'This should provide reasonable certainty that stdout can be consumed by end users.\r\n' + '\r\n' + '### Tradeoff\r\n' + '\r\n' + '<!-- Please describe, if any, the tradeoffs that you found acceptable in this pull request -->\r\n' + '\r\n' + '### Potential improvement\r\n' + '\r\n' + '<!-- Please describe, if any, potential improvement that you are envisioning -->\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-11-17T11:58:57Z', website_url: 'https://cncf.io' }, number: 103, 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/103/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/audit-scanner/pulls/103/commits' }, html: { href