Skip to content

fix: Remove early returns in claims transformation #196

fix: Remove early returns in claims transformation

fix: Remove early returns in claims transformation #196

Triggered via pull request May 10, 2024 00:05
@Alexr03Alexr03
edited #99
Status Success
Total duration 12s
Artifacts

release-drafter.yml

on: pull_request_target
update_release_draft
5s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '9025119559', status: 403, response: { url: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/99/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: 'Fri, 10 May 2024 00:05: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': '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': 'E305:1773DF:3B5D77D:62A02F0:663D64B9', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4988', 'x-ratelimit-reset': '1715303091', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '12', '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/99/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":["maintenance"]}', request: {} }, event: { id: '9025119559', name: 'pull_request_target', payload: { action: 'edited', changes: { body: { from: 'Current implementation will flow to an early return statement when all of the following requirements are met:\r\n' + '- `RolesClaimTransformationSource.All` is **set**\r\n' + '- The user does **not** have any roles in the requested `resource`\r\n' + '- The user does have a realm role\r\n' + '\r\n' + 'Expected Result:\r\n' + 'The realm role will be applied to the principal.\r\n' + '\r\n' + 'Actual Result:\r\n' + 'The realm role is **not** applied to the principal.' } }, number: 99, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/99/comments' }, commits: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/99/commits' }, html: { href: 'https://github.com/NikiforovAll/keycloak-authorization-services-dotnet/pull/99' }, issue: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/99' }, 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/99/comments' }, self: { href: 'https://api.github.com/repos/
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: '9025119559', name: 'pull_request_target', payload: { action: 'edited', changes: { body: { from: 'Current implementation will flow to an early return statement when all of the following requirements are met:\r\n' + '- `RolesClaimTransformationSource.All` is **set**\r\n' + '- The user does **not** have any roles in the requested `resource`\r\n' + '- The user does have a realm role\r\n' + '\r\n' + 'Expected Result:\r\n' + 'The realm role will be applied to the principal.\r\n' + '\r\n' + 'Actual Result:\r\n' + 'The realm role is **not** applied to the principal.' } }, number: 99, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/99/comments' }, commits: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/99/commits' }, html: { href: 'https://github.com/NikiforovAll/keycloak-authorization-services-dotnet/pull/99' }, issue: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/issues/99' }, 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/99/comments' }, self: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/pulls/99' }, statuses: { href: 'https://api.github.com/repos/NikiforovAll/keycloak-authorization-services-dotnet/statuses/a8d8085c8646f54864ddb2109bfc12d595e98d55' } }, active_lock_reason: null, additions: 99, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', 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}',
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/