Skip to content

feat: Support policies in folders for reusable workflows #373

feat: Support policies in folders for reusable workflows

feat: Support policies in folders for reusable workflows #373

Triggered via pull request December 6, 2024 13:44
Status Success
Total duration 14s
Artifacts

release-drafter.yml

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

Annotations

2 errors and 1 warning
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '12199871226', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/github-actions/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: 'Fri, 06 Dec 2024 13:44:15 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': 'A80E:191A7:7867D6:EFE0DA:6752FFAE', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14980', 'x-ratelimit-reset': '1733496163', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '20', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/kubewarden/github-actions/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/138/merge","name":"v3.4.0","tag_name":"","body":"## 🧰 Maintenance\\n\\n- chore(deps): update golangci/golangci-lint-action action to v6.1.1 (#137)\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '12199871226', 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' + 'Fix https://github.com/kubewarden/kubewarden-controller/issues/806\r\n' + '\r\n' + 'Recommend review by commit.\r\n' + '\r\n' + '\r\n' + '## Test\r\n' + '\r\n' + '<!-- Please provides a short description about how to test your pullrequest -->\r\n' + '\r\n' + '\r\n' + '<!--\r\n' + '```shell\r\n' + 'cp <to_package_directory>\r\n' + 'go test\r\n' + '```\r\n' + '-->\r\n' + '\r\n' + 'For monorepo policies:\r\n' + '- Successful run and release with tag `ControllerContainerBlockSSHPort/v0.0.1`:\r\n' + ' https://github.com/viccuad/rego-policies/actions/runs/12198623071\r\n' + '- Successfully failing release with tag `ControllerContainerBlockSSHPort/v0.0.2`\r\n' + " after releasing `ControllerContainerBlockSSHPort/v0.0.1` because artifacthub-pkg.yml hasn't been updated:\r\n" + ' https://github.com/viccuad/rego-policies/actions/runs/12198727170/job/34031101666\r\n' + '\r\n' + 'For Normal policies:\r\n' + '- Successful CI run:\r\n' + ' https://github.com/viccuad/disallow-service-loadbalancer
update_release_draft
HttpError: Resource not accessible by integration 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: '12199871226', 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' + 'Fix https://github.com/kubewarden/kubewarden-controller/issues/806\r\n' + '\r\n' + 'Recommend review by commit.\r\n' + '\r\n' + '\r\n' + '## Test\r\n' + '\r\n' + '<!-- Please provides a short description about how to test your pullrequest -->\r\n' + '\r\n' + '\r\n' + '<!--\r\n' + '```shell\r\n' + 'cp <to_package_directory>\r\n' + 'go test\r\n' + '```\r\n' + '-->\r\n' + '\r\n' + 'For monorepo policies:\r\n' + '- Successful run and release with tag `ControllerContainerBlockSSHPort/v0.0.1`:\r\n' + ' https://github.com/viccuad/rego-policies/actions/runs/12198623071\r\n' + '- Successfully failing release with tag `ControllerContainerBlockSSHPort/v0.0.2`\r\n' + " after releasing `ControllerContainerBlockSSHPort/v0.0.1` because artifacthub-pkg.yml hasn't been updated:\r\n" + ' https://github.com/viccuad/rego-policies/actions/runs/12198727170/job/34031101666\r\n' + '\r\n' + 'For Normal policies:\r\n' + '- Successful CI run:\r\n' + ' https://github.com/viccuad/disallow-service-loadbalancer-policy/actions/runs/12199771113\r\n' + '- Successful :latest release:\r\n' + ' TODO\r\n' + '- Sucessful tagged release:\r\n' + ' TODO\r\n' + '- Sucessful failing release because artifacthub-pkg.yml has not been updated:\r\n' + ' TODO\r\n' + '\r\n' + '## Additional Information\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' + 'Only release+tests per policy is implemented, normal CI per policy on PRs is not, as it was marked as a nice-to-have.\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: '2024-11-07T12:46:10Z', website_url: 'https://cncf.io' }, number: 138, 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/github-a
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636