Skip to content

upgrade golangci-lint, run pre-commit in CI, add more pre-commit hooks #288

upgrade golangci-lint, run pre-commit in CI, add more pre-commit hooks

upgrade golangci-lint, run pre-commit in CI, add more pre-commit hooks #288

Triggered via pull request July 31, 2024 19:19
Status Success
Total duration 14s
Artifacts

release-drafter.yaml

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

Annotations

3 errors
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '10186341641', status: 403, response: { url: 'https://api.github.com/repos/NVIDIA/container-canary/issues/67/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, 31 Jul 2024 19:19:44 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': 'BC05:D4736:EE281A:1BCF203:66AA8E4F', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14952', 'x-ratelimit-reset': '1722454907', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '48', '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', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/NVIDIA/container-canary/issues/67/labels', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"labels":["documentation"]}', request: {} }, event: { id: '10186341641', name: 'pull_request', payload: { action: 'synchronize', after: '1158ccd9f6fe9b1b4f176d232a6751739fecaccd', before: '7571fdebcd0f1a3836334f73166aa06c191e3151', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/6988?v=4', created_at: '2021-05-05T06:10:41Z', description: '', html_url: 'https://github.com/enterprises/nvidia', id: 6988, name: 'NVIDIA Corporation', node_id: 'MDEwOkVudGVycHJpc2U2OTg4', slug: 'nvidia', updated_at: '2024-05-29T18:47:55Z', website_url: 'www.nvidia.com' }, number: 67, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/1728152?v=4', description: '', events_url: 'https://api.github.com/orgs/NVIDIA/events', hooks_url: 'https://api.github.com/orgs/NVIDIA/hooks', id: 1728152, issues_url: 'https://api.github.com/orgs/NVIDIA/issues', login: 'NVIDIA', members_url: 'https://api.github.com/orgs/NVIDIA/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjE3MjgxNTI=', public_members_url: 'https://api.github.com/orgs/NVIDIA/public_members{/member}', repos_url: 'https://api.github.com/orgs/NVIDIA/repos', url: 'https://api.github.com/orgs/NVIDIA' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/NVIDIA/container-canary/issues/67/comments' }, commits: { href: 'https://api.github.com/repos/NVIDIA/container-canary/pulls/67/commits' }, html: { href: 'https://github.com/NVIDIA/container-canary/pull/67' }, issue: { href: 'https://ap
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '10186341641', status: 403, response: { url: 'https://api.github.com/repos/NVIDIA/container-canary/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, 31 Jul 2024 19:19:46 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': 'BC07:22B88D:EF0A17:1BE2700:66AA8E51', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14951', 'x-ratelimit-reset': '1722454907', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '49', '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/NVIDIA/container-canary/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/67/merge","name":"v0.4.1","tag_name":"v0.4.1","body":"## What’s Changed\\n\\n## Documentation and code quality\\n\\n- fix formatting in CONTRIBUTING docs @jameslamb (#66)\\n\\n## Installation\\n\\nDownload the appropriate binary for your system.\\n\\n```console\\n$ curl -L https://github.com/NVIDIA/container-canary/releases/download/v0.4.1/canary_linux_amd64 > canary_linux_amd64\\n```\\n\\nDownload and verify the SHA256 hash.\\n\\n```console\\n$ curl -L https://github.com/NVIDIA/container-canary/releases/download/v0.4.1/canary_linux_amd64.sha256sum > canary_linux_amd64.sha256sum\\n\\n$ sha256sum --check --status canary_linux_amd64.sha256sum\\n```\\n\\nInstall the binary somewhere on your path.\\n\\n```console\\n$ chmod +x canary_linux_amd64\\n\\n$ mv canary_linux_amd64 /usr/local/bin/canary\\n```\\n\\nVerify things are working.\\n\\n```console\\n$ canary version\\nContainer Canary\\nVersion: v0.4.1\\n...\\n```\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: { retryCount: 1 } }, event: { id: '10186341641', name: 'pull_request', payload: { action: 'synchronize', after: '1158ccd9f6fe9b1b4f176d232a6751739fecaccd', before: '7571fdebcd0f1a3836334f73166aa06c191e3151', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/6988?v=4', created_at: '2021-05-05T06:10:41Z', description: '', html_url: 'https://github.com/enterprises/nvidia', id: 6988, name: 'NVIDIA Corporation', node_id: 'MDEwOkVudGVycHJpc2U2OTg4', slug: 'nvidia', updated_at: '2024-05-29T18:47:55Z', website_url: 'www.nvidia.com' }, number: 67, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/1728152?v=4', description: '', events_url
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) 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: '10186341641', name: 'pull_request', payload: { action: 'synchronize', after: '1158ccd9f6fe9b1b4f176d232a6751739fecaccd', before: '7571fdebcd0f1a3836334f73166aa06c191e3151', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/6988?v=4', created_at: '2021-05-05T06:10:41Z', description: '', html_url: 'https://github.com/enterprises/nvidia', id: 6988, name: 'NVIDIA Corporation', node_id: 'MDEwOkVudGVycHJpc2U2OTg4', slug: 'nvidia', updated_at: '2024-05-29T18:47:55Z', website_url: 'www.nvidia.com' }, number: 67, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/1728152?v=4', description: '', events_url: 'https://api.github.com/orgs/NVIDIA/events', hooks_url: 'https://api.github.com/orgs/NVIDIA/hooks', id: 1728152, issues_url: 'https://api.github.com/orgs/NVIDIA/issues', login: 'NVIDIA', members_url: 'https://api.github.com/orgs/NVIDIA/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjE3MjgxNTI=', public_members_url: 'https://api.github.com/orgs/NVIDIA/public_members{/member}', repos_url: 'https://api.github.com/orgs/NVIDIA/repos', url: 'https://api.github.com/orgs/NVIDIA' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/NVIDIA/container-canary/issues/67/comments' }, commits: { href: 'https://api.github.com/repos/NVIDIA/container-canary/pulls/67/commits' }, html: { href: 'https://github.com/NVIDIA/container-canary/pull/67' }, issue: { href: 'https://api.github.com/repos/NVIDIA/container-canary/issues/67' }, review_comment: { href: 'https://api.github.com/repos/NVIDIA/container-canary/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/NVIDIA/container-canary/pulls/67/comments' }, self: { href: 'https://api.github.com/repos/NVIDIA/container-canary/pulls/67' }, statuses: { href: 'https://api.github.com/repos/NVIDIA/container-canary/statuses/1158ccd9f6fe9b1b4f176d232a6751739fecaccd' } }, active_lock_reason: null, additions: 12, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'NVIDIA:main', ref: 'main', repo: { allow_auto_merge: true, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/NVIDIA/container-canary/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/NVIDIA/container-canary/assignees{/user}', blobs_url: 'https://api.github.com/repos/NVIDIA/container-canary/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/NVIDIA/container-canary/branches{/branch}', clone_url: