Add middleware for automatic authorization based on request endpoint #208
Triggered via pull request
May 11, 2024 07:45
wanderzirkus
synchronize
#55
Status
Success
Total duration
16s
Artifacts
–
release-drafter.yml
on: pull_request_target
update_release_draft
7s
Annotations
2 errors and 7 warnings
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '9042150497',
status: 403,
response: {
url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/55/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: 'Sat, 11 May 2024 07:46:03 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': '0405:31DCCD:1630866E:1650FE84:663F223B',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4977',
'x-ratelimit-reset': '1715415052',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '23',
'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/NikiforovAll/keycloak-authorization-services-dotnet/issues/55/labels',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.1 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"labels":["documentation","maintenance"]}',
request: {}
},
event: {
id: '9042150497',
name: 'pull_request_target',
payload: {
action: 'synchronize',
after: '2ebf6d2e2bef026f930a294b328fa25e9f8dd9dc',
before: '1bdb892f1ec466e776d42789af971f32d8550a18',
number: 55,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/55/comments'
},
commits: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/55/commits'
},
html: {
href: 'https://github.com/NikiforovAll/keycloak-authorization-services-dotnet/pull/55'
},
issue: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/55'
},
review_comment: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/55/comments'
},
self: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/55'
},
statuses: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/statuses/2ebf6d2e2bef026f930a294b328fa25e9f8dd9dc'
}
},
active_lock_reason: null,
additions: 2946,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'NikiforovAll:main',
ref:
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5.17.6/dist/index.js:7200:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5.17.6/dist/index.js:28490:18)
{
name: 'AggregateError',
event: {
id: '9042150497',
name: 'pull_request_target',
payload: {
action: 'synchronize',
after: '2ebf6d2e2bef026f930a294b328fa25e9f8dd9dc',
before: '1bdb892f1ec466e776d42789af971f32d8550a18',
number: 55,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/55/comments'
},
commits: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/55/commits'
},
html: {
href: 'https://github.com/NikiforovAll/keycloak-authorization-services-dotnet/pull/55'
},
issue: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/55'
},
review_comment: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/55/comments'
},
self: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/55'
},
statuses: {
href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/statuses/2ebf6d2e2bef026f930a294b328fa25e9f8dd9dc'
}
},
active_lock_reason: null,
additions: 2946,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'NikiforovAll:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/assignees{/user}',
blobs_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/branches{/branch}',
clone_url: 'https://github.com/NikiforovAll/keycloak-authorization-services-dotnet.git',
collaborators_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/comments{/number}',
commits_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/commits{/sha}',
compare_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/contents/{+path}',
contributors_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/contributors',
created_at: '2022-01-15T12:00:53Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/deployments',
description: 'Au
|
update_release_draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
update_release_draft
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
update_release_draft
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
update_release_draft
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
update_release_draft
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
update_release_draft
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
update_release_draft
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|