Skip to content

fix: Make Rego inventories ordered and deterministic #1414

fix: Make Rego inventories ordered and deterministic

fix: Make Rego inventories ordered and deterministic #1414

Triggered via pull request November 23, 2023 16:42
Status Success
Total duration 18s
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: '6972396364', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/kwctl/issues/655/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:42:48 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': 'B005:0761:1BDA56B:39C7362:655F8108', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14979', 'x-ratelimit-reset': '1700761322', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '21', '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/kwctl/issues/655/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/bug"]}', request: {} }, event: { id: '6972396364', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Description\r\n' + '\r\n' + 'Ensure the rego inventory of Kubernetes resources is built in a deterministic way\r\n' + '\r\n' + 'This depends on https://github.com/kubewarden/policy-evaluator/pull/389' } }, 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: 655, 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/kwctl/issues/655/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/kwctl/p
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '6972396364', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/kwctl/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:42:51 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': 'B007:1E76:8D716:120F66:655F810B', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14976', 'x-ratelimit-reset': '1700761322', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '24', '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/kwctl/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/pull/655/merge","name":"v1.9.1","tag_name":"","body":"## 🐛 Bug Fixes\\n\\n- fix(deps): update rust crate walrus to 0.20.2 (#647)\\n\\n## 🧰 Maintenance\\n\\n- build(deps): bump wasmparser from 0.117.0 to 0.118.0 (#654)\\n- build(deps): bump actions/github-script from 6.4.1 to 7.0.1 (#653)\\n- chore(deps): lock file maintenance (#652)\\n- build(deps): bump wasmparser from 0.116.1 to 0.117.0 (#651)\\n- build(deps): bump itertools from 0.11.0 to 0.12.0 (#650)\\n- build(deps): bump sigstore/cosign-installer from 3.1.2 to 3.2.0 (#649)\\n- chore(deps): lock file maintenance (#648)\\n- build(deps): bump tokio from 1.33.0 to 1.34.0 (#646)\\n- fix(deps): update rust crate walrus to 0.20.2 (#647)\\n- chore(deps): update kubewarden/github-actions action to v3.1.11 (#643)\\n- chore(deps): lock file maintenance (#644)\\n- build(deps): bump kubewarden/github-actions from 3.1.10 to 3.1.11 (#645)\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: { retryCount: 1 } }, event: { id: '6972396364', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Description\r\n' + '\r\n' + 'Ensure the rego inventory of Kubernetes resources is built in a deterministic way\r\n' + '\r\n' + 'This depends on https://github.com/kubewarden/policy-evaluator/pull/389' } }, 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: 655, organization: {
update_release_draft
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/09c613e259eb8d4e7c81c2cb00618eb5fc4575a7/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/09c613e259eb8d4e7c81c2cb00618eb5fc4575a7/dist/index.js:30793:18) HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/09c613e259eb8d4e7c81c2cb00618eb5fc4575a7/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/09c613e259eb8d4e7c81c2cb00618eb5fc4575a7/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '6972396364', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Description\r\n' + '\r\n' + 'Ensure the rego inventory of Kubernetes resources is built in a deterministic way\r\n' + '\r\n' + 'This depends on https://github.com/kubewarden/policy-evaluator/pull/389' } }, 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: 655, 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/kwctl/issues/655/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/kwctl/pulls/655/commits' }, html: { href: 'https://github.com/kubewarden/kwctl/pull/655' }, issue: { href: 'https://api.github.com/repos/kubewarden/kwctl/issues/655' }, review_comment: { href: 'https://api.github.com/repos/kubewarden/kwctl/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/kubewarden/kwctl/pulls/655/comments' }, self: { href: 'https://api.github.com/repos/kubewarden/kwctl/pulls/655' }, statuses: { href: 'https://api.github.com/repos/kubewarden/kwctl/statuses/441ead11aa37730fe0a3d512f8ec98d68ae7c99c' } }, active_lock_reason: null, additions: 115, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/828651?v=4', events_url: 'https://api.github.com/users/fabriziosestito/events{/privacy}', followers_url: 'https://api.github.com/users/fabriziosestito/followers', following_url: 'https://api.github.com/users/fabriziosestito/following{/other_user}', gists_url: 'https://api.github.com/users/fabriziosestito/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/fabriziosestito', id: 828651, login: 'fabrizi