Fix panic for case when no metrics are returned #211
Annotations
2 errors
Run release-drafter/release-drafter@v6
Resource not accessible by integration
{
name: 'HttpError',
id: '12015961677',
status: 403,
response: {
url: 'https://api.github.com/repos/lunarway/humio_exporter/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, 26 Nov 2024 08:41:11 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': '1848:382AD5:1A4E2DB:338856C:674589A7',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14991',
'x-ratelimit-reset': '1732614069',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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/lunarway/humio_exporter/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/110/merge","name":"v0.2.12","tag_name":"v0.2.12","body":"## Changes\\n\\n## Dependency Updates\\n\\n<details>\\n<summary>6 changes</summary>\\n\\n* Update golang Docker tag to v1.23.2 (#107) @lunar-renovate\\n* Update module github.com/prometheus/client\\\\_golang to v1.20.4 (#106) @lunar-renovate\\n* Update golang Docker tag to v1.23.1 (#105) @lunar-renovate\\n* Update alpine Docker tag to v3.20.3 (#104) @lunar-renovate\\n* Update goreleaser/goreleaser-action action to v6 (#102) @lunar-renovate\\n* Update golang Docker tag to v1.22.4 (#101) @lunar-renovate\\n</details>\\n\\n**Full Changelog**: https://github.com/lunarway/humio_exporter/compare/v0.2.11...v0.2.12\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: { retryCount: 1 }
},
event: {
id: '12015961677',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4',
created_at: '2023-08-15T07:41:55Z',
description: 'Make the most of your money',
html_url: 'https://github.com/enterprises/lunar',
id: 66042,
name: 'Lunar',
node_id: 'E_kgDOAAEB-g',
slug: 'lunar',
updated_at: '2024-09-02T11:45:51Z',
website_url: 'https://lunar.app'
},
number: 110,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4',
description: 'The smarter way to bank',
events_url: 'https://api.github.com/orgs/lunarway/events',
hooks_url: 'https://api.github.com/orgs/lunarway/hooks',
id: 29371397,
issues_url: 'https://api.github.com/orgs/lunarway/issues',
login: 'lunarway',
members_url: 'https://api.github.com/orgs/lunarway/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjI5M
|
Run release-drafter/release-drafter@v6
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: '12015961677',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4',
created_at: '2023-08-15T07:41:55Z',
description: 'Make the most of your money',
html_url: 'https://github.com/enterprises/lunar',
id: 66042,
name: 'Lunar',
node_id: 'E_kgDOAAEB-g',
slug: 'lunar',
updated_at: '2024-09-02T11:45:51Z',
website_url: 'https://lunar.app'
},
number: 110,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4',
description: 'The smarter way to bank',
events_url: 'https://api.github.com/orgs/lunarway/events',
hooks_url: 'https://api.github.com/orgs/lunarway/hooks',
id: 29371397,
issues_url: 'https://api.github.com/orgs/lunarway/issues',
login: 'lunarway',
members_url: 'https://api.github.com/orgs/lunarway/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjI5MzcxMzk3',
public_members_url: 'https://api.github.com/orgs/lunarway/public_members{/member}',
repos_url: 'https://api.github.com/orgs/lunarway/repos',
url: 'https://api.github.com/orgs/lunarway'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/issues/110/comments'
},
commits: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/110/commits'
},
html: {
href: 'https://github.com/lunarway/humio_exporter/pull/110'
},
issue: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/issues/110'
},
review_comment: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/110/comments'
},
self: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/pulls/110'
},
statuses: {
href: 'https://api.github.com/repos/lunarway/humio_exporter/statuses/54456a05584aa3541c52cfb24c3507f08c34ee1c'
}
},
active_lock_reason: null,
additions: 6,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'lunarway:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/lunarway/humio_exporter/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/lunarway/humio_exporter/assignees{/user}',
blobs_url: 'https://api.github.com/repos/lunarway/humio_exporter/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/lunarway/humio_exporter/branches{/branch}',
clone_url: 'https://github.com/lunarway/humio_exporter.git',
collaborators_url: 'https://api.github.com/repos/lunarway/humio_exporter/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/lunarway/humio_exporter/comments{/number}',
commits_url: 'https://api.github.com/repos/lunarway/humio_exporter/commits{/sha}',
compare_url: 'https://api.github.com/repos/lu
|
Loading