fix: Negative time duration for labels applied after issue close; Inflated metric numbers for unlabeled labels on open issues #90
Annotations
3 errors
Resource not accessible by integration
{
name: 'HttpError',
id: '9176829664',
status: 403,
response: {
url: 'https://api.github.com/repos/github/issue-metrics/issues/287/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, 21 May 2024 14:59:10 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': 'F805:1FEC53:46346EB:849EC7A:664CB6BE',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14991',
'x-ratelimit-reset': '1716307149',
'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/issues/labels#add-labels-to-an-issue'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/github/issue-metrics/issues/287/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":["fix"]}',
request: {}
},
event: {
id: '9176829664',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b8ab8a9d52d751dd90000c9c32fd9fa76a9728e1',
before: '8815d92578b2983dfb90bbb6f875df800fa75316',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/11468?v=4',
created_at: '2022-02-10T15:50:11Z',
description: 'Where the world builds software',
html_url: 'https://github.com/enterprises/github',
id: 11468,
name: 'GitHub',
node_id: 'E_kgDNLMw',
slug: 'github',
updated_at: '2022-12-21T02:54:24Z',
website_url: 'https://github.com/about'
},
number: 287,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9919?v=4',
description: 'How people build software.',
events_url: 'https://api.github.com/orgs/github/events',
hooks_url: 'https://api.github.com/orgs/github/hooks',
id: 9919,
issues_url: 'https://api.github.com/orgs/github/issues',
login: 'github',
members_url: 'https://api.github.com/orgs/github/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=',
public_members_url: 'https://api.github.com/orgs/github/public_members{/member}',
repos_url: 'https://api.github.com/orgs/github/repos',
url: 'https://api.github.com/orgs/github'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/github/issue-metrics/issues/287/comments'
},
commits: {
href: 'https://api.github.com/repos/github/issue-metrics/pulls/287/commits'
},
html: { href: 'https://github.com/github/issue-metrics/pull/287' },
issue: {
href: 'https://api.github.com/repos/github/issue-
|
Resource not accessible by integration
{
name: 'HttpError',
id: '9176829664',
status: 403,
response: {
url: 'https://api.github.com/repos/github/issue-metrics/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, 21 May 2024 14:59:13 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': 'F807:23AC55:12858A2:2191FC0:664CB6C0',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14987',
'x-ratelimit-reset': '1716307149',
'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/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/github/issue-metrics/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/287/merge","name":"v3.6.0","tag_name":"v3.6.0","body":"# Changelog\\n## 🐛 Bug Fixes\\n\\n- fix: allow access to forked pull request labels for release @jmeridth (#285)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): bump the dependencies group with 3 updates @dependabot (#286)\\n- chore(deps): bump the dependencies group with 3 updates @dependabot (#288)\\n\\nSee details of [all code changes](https://github.com/github/issue-metrics/compare/v3.5.0...v3.6.0) since previous release\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: { retryCount: 1 }
},
event: {
id: '9176829664',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b8ab8a9d52d751dd90000c9c32fd9fa76a9728e1',
before: '8815d92578b2983dfb90bbb6f875df800fa75316',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/11468?v=4',
created_at: '2022-02-10T15:50:11Z',
description: 'Where the world builds software',
html_url: 'https://github.com/enterprises/github',
id: 11468,
name: 'GitHub',
node_id: 'E_kgDNLMw',
slug: 'github',
updated_at: '2022-12-21T02:54:24Z',
website_url: 'https://github.com/about'
},
number: 287,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9919?v=4',
description: 'How people build software.',
events_url: 'https://api.github.com/orgs/github/events',
hooks_url: 'https://api.github.com/orgs/github/hooks',
id: 9919,
issues_url: 'https://api.github.com/orgs/github/issues',
login: 'github',
members_url: 'https://api.github.com/orgs/github/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=',
public_members_url: 'https://api.github.com/orgs/github/public_members{/member}',
|
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: '9176829664',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b8ab8a9d52d751dd90000c9c32fd9fa76a9728e1',
before: '8815d92578b2983dfb90bbb6f875df800fa75316',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/11468?v=4',
created_at: '2022-02-10T15:50:11Z',
description: 'Where the world builds software',
html_url: 'https://github.com/enterprises/github',
id: 11468,
name: 'GitHub',
node_id: 'E_kgDNLMw',
slug: 'github',
updated_at: '2022-12-21T02:54:24Z',
website_url: 'https://github.com/about'
},
number: 287,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9919?v=4',
description: 'How people build software.',
events_url: 'https://api.github.com/orgs/github/events',
hooks_url: 'https://api.github.com/orgs/github/hooks',
id: 9919,
issues_url: 'https://api.github.com/orgs/github/issues',
login: 'github',
members_url: 'https://api.github.com/orgs/github/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=',
public_members_url: 'https://api.github.com/orgs/github/public_members{/member}',
repos_url: 'https://api.github.com/orgs/github/repos',
url: 'https://api.github.com/orgs/github'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/github/issue-metrics/issues/287/comments'
},
commits: {
href: 'https://api.github.com/repos/github/issue-metrics/pulls/287/commits'
},
html: { href: 'https://github.com/github/issue-metrics/pull/287' },
issue: {
href: 'https://api.github.com/repos/github/issue-metrics/issues/287'
},
review_comment: {
href: 'https://api.github.com/repos/github/issue-metrics/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/github/issue-metrics/pulls/287/comments'
},
self: {
href: 'https://api.github.com/repos/github/issue-metrics/pulls/287'
},
statuses: {
href: 'https://api.github.com/repos/github/issue-metrics/statuses/b8ab8a9d52d751dd90000c9c32fd9fa76a9728e1'
}
},
active_lock_reason: null,
additions: 26,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'github:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/github/issue-metrics/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/github/issue-metrics/assignees{/user}',
blobs_url: 'https://api.github.com/repos/github/issue-metrics/git/
|
This job succeeded
Loading