Skip to content

test: fix permissions of cargo audit action #1905

test: fix permissions of cargo audit action

test: fix permissions of cargo audit action #1905

Triggered via pull request May 22, 2024 16:01
Status Success
Total duration 16s
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: '9194656540', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/policy-server/issues/773/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: 'Wed, 22 May 2024 16:01:57 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': '0C85:293804:36EBE43:5F6C1B3:664E16F5', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14838', 'x-ratelimit-reset': '1716393747', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '162', '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/policy-server/issues/773/labels', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"labels":["kind/bug"]}', request: {} }, event: { id: '9194656540', name: 'pull_request', payload: { action: 'opened', 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-05-17T11:41:39Z', website_url: 'https://cncf.io' }, number: 773, 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/policy-server/issues/773/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/773/commits' }, html: { href: 'https://github.com/kubewarden/policy-server/pull/773' }, issue: { href: 'https://api.github.com/repos/kubewarden/policy-server/issues/773' }, review_comment: {
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '9194656540', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/policy-server/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: 'Wed, 22 May 2024 16:02:00 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': '0C87:30E511:69DF813:B8A77FC:664E16F8', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14833', 'x-ratelimit-reset': '1716393747', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '167', '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/policy-server/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/773/merge","name":"v1.13.0","tag_name":"","body":"## 🚀 Features\\n\\n- feat: support heap profiling (#768)\\n- feat: switch to jemalloc allocator (#766)\\n\\n## 🐛 Bug Fixes\\n\\n- fix: configure jemalloc in lib.rs (#770)\\n- fix(deps): update all patchlevel dependencies (#756)\\n\\n## 🧰 Maintenance\\n\\n- chore: prepare to release 1.13.0 rc1 (#772)\\n- chore(deps): lock file maintenance (#757)\\n- chore(deps): change GH action used by cargo-audit (#769)\\n- build(deps): bump policy-evaluator version to v0.17.2 (#767)\\n- build(deps): bump codecov/codecov-action from 4.3.1 to 4.4.1 (#765)\\n- chore(deps): update all patchlevel dependencies (#764)\\n- build(deps): bump itertools from 0.12.1 to 0.13.0 (#762)\\n- fix(deps): update all patchlevel dependencies (#756)\\n- build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#758)\\n- build(deps): bump rustls-pki-types from 1.6.0 to 1.7.0 (#755)\\n- build(deps): bump rustls-pki-types from 1.5.0 to 1.6.0 (#754)\\n- chore(deps): lock file maintenance (#752)\\n- chore(deps): update all patchlevel dependencies (#751)\\n- chore(deps): lock file maintenance (#750)\\n- chore(deps): update all patchlevel dependencies (#749)\\n- build(deps): bump rustls-pki-types from 1.4.1 to 1.5.0 (#748)\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: { retryCount: 1 } }, event: { id: '9194656540', name: 'pull_request', payload: { action: 'opened', 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-05-17T11:41:39Z', website_url: 'https://cn
update_release_draft
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/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/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18) HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/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/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '9194656540', name: 'pull_request', payload: { action: 'opened', 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-05-17T11:41:39Z', website_url: 'https://cncf.io' }, number: 773, 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/policy-server/issues/773/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/773/commits' }, html: { href: 'https://github.com/kubewarden/policy-server/pull/773' }, issue: { href: 'https://api.github.com/repos/kubewarden/policy-server/issues/773' }, review_comment: { href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/773/comments' }, self: { href: 'https://api.github.com/repos/kubewarden/policy-server/pulls/773' }, statuses: { href: 'https://api.github.com/repos/kubewarden/policy-server/statuses/d39dca7d317bc7a9e51dbb14b145124cc2e532f7' } }, active_lock_reason: null, additions: 8, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'kubewarden:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/kubewarden/policy-server/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/kubewarden/policy-server/assignees{/user}', blobs_url: 'https://api.github.com/repos/kubewarden/policy-server/git/blobs{/sha}', branches_url: 'https://api.gi