feature: Support the new Sonatype Central API #251
release-drafter.yml
on: pull_request
update_release_draft
7s
Annotations
3 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '9689595449',
status: 403,
response: {
url: 'https://api.github.com/repos/xerial/sbt-sonatype/issues/474/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: 'Thu, 27 Jun 2024 02:13:55 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'istio-envoy',
'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-envoy-decorator-operation': 'unicorn-api.github-production.svc.cluster.local:80/*',
'x-envoy-upstream-service-time': '76',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': 'AB45:124B73:19DA2869:1A138908:667CCAE2',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1719458034',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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/xerial/sbt-sonatype/issues/474/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":["doc"]}',
request: {}
},
event: {
id: '9689595449',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '5f50df10617d4906dcac19ff72637b4d17e45069',
before: '9c0bbe914a7498f969912e1bf8337113b8285d93',
number: 474,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/issues/474/comments'
},
commits: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/474/commits'
},
html: { href: 'https://github.com/xerial/sbt-sonatype/pull/474' },
issue: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/issues/474'
},
review_comment: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/474/comments'
},
self: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/474'
},
statuses: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/statuses/5f50df10617d4906dcac19ff72637b4d17e45069'
}
},
active_lock_reason: null,
additions: 478,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'xerial:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true
|
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '9689595449',
status: 403,
response: {
url: 'https://api.github.com/repos/xerial/sbt-sonatype/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: 'Thu, 27 Jun 2024 02:13:58 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': 'AB47:3E6A5:1D75646A:1DB6303D:667CCAE5',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1719458034',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/xerial/sbt-sonatype/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/474/merge","name":"v3.10.1","tag_name":"v3.10.1","body":"## What's Changed\\n- feature: Give helpful advice when profile missing on host @rtyley (#461)\\n\\n## 🔗 Dependency Updates\\n\\n- Update airframe-http, airspec to 24.6.1 @xerial-bot (#490)\\n- Update scalafmt-core to 3.8.2 @xerial-bot (#489)\\n- Update airframe-http, airspec to 24.6.0 @xerial-bot (#488)\\n- Update airframe-http, airspec to 24.5.2 @xerial-bot (#487)\\n- Update airframe-http, airspec to 24.5.1 @xerial-bot (#486)\\n- Update airframe-http, airspec to 24.5.0 @xerial-bot (#485)\\n- Update sbt, scripted-plugin to 1.10.0 @xerial-bot (#484)\\n- Update airframe-http, airspec to 24.4.3 @xerial-bot (#482)\\n- Update airframe-http, airspec to 24.4.2 @xerial-bot (#481)\\n- Update airframe-http, airspec to 24.4.1 @xerial-bot (#480)\\n- Update airframe-http, airspec to 24.4.0 @xerial-bot (#479)\\n- Update scalafmt-core to 3.8.1 @xerial-bot (#478)\\n- Update airframe-http, airspec to 24.3.0 @xerial-bot (#476)\\n- Update airframe-http, airspec to 24.2.3 @xerial-bot (#475)\\n- Update scala-library to 2.12.19 @xerial-bot (#473)\\n- Update airframe-http, airspec to 24.2.2 @xerial-bot (#472)\\n- Update airframe-http, airspec to 24.2.1 @xerial-bot (#471)\\n- Update sbt, scripted-plugin to 1.9.9 @xerial-bot (#470)\\n- Update airframe-http, airspec to 24.2.0 @xerial-bot (#469)\\n- Update scalafmt-core to 3.8.0 @xerial-bot (#468)\\n- Bump release-drafter/release-drafter from 5 to 6 @dependabot (#467)\\n- Update airframe-http, airspec to 24.1.2 @xerial-bot (#466)\\n- Update airframe-http, airspec to 24.1.1 @xerial-bot (#463)\\n- Update airframe-http, airspec to 24.1.0 @xerial-bot (#462)\\n- Update airframe-http, airspec to 23.12.1 @xerial-bot (#460)\\n- Update airframe-http, airspec to 23.12.0 @xerial-bot (#459)\\n- Update sbt, scripted-plugin to 1.9.8 @xerial-bot (#458
|
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: '9689595449',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '5f50df10617d4906dcac19ff72637b4d17e45069',
before: '9c0bbe914a7498f969912e1bf8337113b8285d93',
number: 474,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/issues/474/comments'
},
commits: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/474/commits'
},
html: { href: 'https://github.com/xerial/sbt-sonatype/pull/474' },
issue: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/issues/474'
},
review_comment: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/474/comments'
},
self: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/pulls/474'
},
statuses: {
href: 'https://api.github.com/repos/xerial/sbt-sonatype/statuses/5f50df10617d4906dcac19ff72637b4d17e45069'
}
},
active_lock_reason: null,
additions: 478,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'xerial: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/xerial/sbt-sonatype/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/xerial/sbt-sonatype/assignees{/user}',
blobs_url: 'https://api.github.com/repos/xerial/sbt-sonatype/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/xerial/sbt-sonatype/branches{/branch}',
clone_url: 'https://github.com/xerial/sbt-sonatype.git',
collaborators_url: 'https://api.github.com/repos/xerial/sbt-sonatype/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/xerial/sbt-sonatype/comments{/number}',
commits_url: 'https://api.github.com/repos/xerial/sbt-sonatype/commits{/sha}',
compare_url: 'https://api.github.com/repos/xerial/sbt-sonatype/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/xerial/sbt-sonatype/contents/{+path}',
contributors_url: 'https://api.github.com/repos/xerial/sbt-sonatype/contributors',
created_at: '2014-01-20T16:13:49Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/xerial/sbt-sonatype/deployments',
description: 'A sbt plugin for publishing Scala/Java projects to the Maven central.',
disabled: false,
downloads_url: 'https://api.github.com/repos/xerial/sbt-sonatype/downloads',
events_url: 'https://api.github.com/repos/xerial/sbt-sonatype/events',
fork: false,
forks
|