Skip to content

chore: use more stricter golang linter configuration. #177

chore: use more stricter golang linter configuration.

chore: use more stricter golang linter configuration. #177

Triggered via pull request July 16, 2024 17:19
@jvanzjvanz
synchronize #93
jvanz:golinter
Status Success
Total duration 2m 56s
Artifacts

release-drafter.yml

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

Annotations

3 errors
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '9961301974', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/policy-sdk-go/issues/93/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: 'Tue, 16 Jul 2024 17:22:17 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': '6887:EC99B:EA84BF2:1B037EAB:6696AC49', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14987', 'x-ratelimit-reset': '1721154133', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '13', '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/kubewarden/policy-sdk-go/issues/93/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":["kind/chore"]}', request: {} }, event: { id: '9961301974', name: 'pull_request', payload: { action: 'synchronize', after: '7e56907e10fba29e7aed6966f85526a8b3c6cb7a', before: '774763a42a0060a4474671c517295a51dc9408b1', 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-06-17T11:23:49Z', website_url: 'https://cncf.io' }, number: 93, 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-sdk-go/issues/93/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/pulls/93/commits' }, html: { href: 'https://github.com/kubewarden/policy-sdk-go/pull/93' }, issue
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '9961301974', status: 403, response: { url: 'https://api.github.com/repos/kubewarden/policy-sdk-go/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: 'Tue, 16 Jul 2024 17:22:18 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': '6888:36047E:F4B5173:1C2087F2:6696AC4A', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14986', 'x-ratelimit-reset': '1721154133', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '14', '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/policy-sdk-go/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/93/merge","name":"v0.10.1","tag_name":"","body":"## 🐛 Bug Fixes\\n\\n- fix: support changes done by TinyGo 0.32.0 (#91)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): update actions/setup-go action to v5.0.2 (#92)\\n- fix: support changes done by TinyGo 0.32.0 (#91)\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: { retryCount: 1 } }, event: { id: '9961301974', name: 'pull_request', payload: { action: 'synchronize', after: '7e56907e10fba29e7aed6966f85526a8b3c6cb7a', before: '774763a42a0060a4474671c517295a51dc9408b1', 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-06-17T11:23:49Z', website_url: 'https://cncf.io' }, number: 93, 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: {
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: '9961301974', name: 'pull_request', payload: { action: 'synchronize', after: '7e56907e10fba29e7aed6966f85526a8b3c6cb7a', before: '774763a42a0060a4474671c517295a51dc9408b1', 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-06-17T11:23:49Z', website_url: 'https://cncf.io' }, number: 93, 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-sdk-go/issues/93/comments' }, commits: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/pulls/93/commits' }, html: { href: 'https://github.com/kubewarden/policy-sdk-go/pull/93' }, issue: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/issues/93' }, review_comment: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/pulls/93/comments' }, self: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/pulls/93' }, statuses: { href: 'https://api.github.com/repos/kubewarden/policy-sdk-go/statuses/7e56907e10fba29e7aed6966f85526a8b3c6cb7a' } }, active_lock_reason: null, additions: 628, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/1514798?v=4', events_url: 'https://api.github.com/users/jvanz/events{/privacy}', followers_url: 'https://api.github.com/users/jvanz/followers', following_url: 'https://api.github.com/users/jvanz/following{/other_user}', gists_url: 'https://api.github.com/users/jvanz/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/jvanz', id: 1514798, login: 'jvanz', node_id: 'MDQ6VXNlcjE1MTQ3OTg=', organizations_url: 'https://api.github.com/users/jvanz/orgs', received_events_url: 'https: