[Refactor] Adopt request builder patterns for SecurityRestApiActions … #41
release-drafter.yml
on: push
update_release_draft
46s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '6015335845',
status: 403,
response: {
url: 'https://api.github.com/repos/willyborankin/security/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, 29 Aug 2023 17:05:23 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',
'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': '8842:99E1:1109AD:2284FD:64EE2553',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '993',
'x-ratelimit-reset': '1693332279',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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/willyborankin/security/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/heads/main","name":"Version (set version here)","tag_name":"","body":"Compatible with OpenSearch (set version here).\\n* No changes\\n","draft":true,"prerelease":false}',
request: {}
},
event: {
id: '6015335845',
name: 'push',
payload: {
after: '0338cdd4ab701e6dfdbaaf49765300b1d6190aa0',
base_ref: null,
before: 'd7eabcf6dbd7f7025e53769c979762bc4454aa34',
commits: [
{
author: {
email: '49699333+dependabot[bot]@users.noreply.github.com',
name: 'dependabot[bot]',
username: 'dependabot[bot]'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'a7244104167f1a104e11955c952bad40161d831f',
message: 'dependabot: bump aws-actions/configure-aws-credentials from 2 to 3 (#3247)\n' +
'\n' +
'Bumps\r\n' +
'[aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials)\r\n' +
'from 2 to 3.\r\n' +
'<details>\r\n' +
'<summary>Release notes</summary>\r\n' +
'<p><em>Sourced from <a\r\n' +
`href="https://github.com/aws-actions/configure-aws-credentials/releases">aws-actions/configure-aws-credentials's\r\n` +
'releases</a>.</em></p>\r\n' +
'<blockquote>\r\n' +
'<h2>v3</h2>\r\n' +
'<p>This tag tracks the latest v3.x.x release</p>\r\n' +
'<h2>v2.2.0</h2>\r\n' +
'<p>See the <a\r\n' +
'href="https://github.com/aws-actions/configure-aws-credentials/blob/v2.2.0/CHANGELOG.md">changelog</a>\r\n' +
'for details about the changes included in this release.</p>\r\n' +
'<h2>v2.1.0</h2>\r\n' +
'<p>See the <a\r\n' +
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '6015335845',
name: 'push',
payload: {
after: '0338cdd4ab701e6dfdbaaf49765300b1d6190aa0',
base_ref: null,
before: 'd7eabcf6dbd7f7025e53769c979762bc4454aa34',
commits: [
{
author: {
email: '49699333+dependabot[bot]@users.noreply.github.com',
name: 'dependabot[bot]',
username: 'dependabot[bot]'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'a7244104167f1a104e11955c952bad40161d831f',
message: 'dependabot: bump aws-actions/configure-aws-credentials from 2 to 3 (#3247)\n' +
'\n' +
'Bumps\r\n' +
'[aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials)\r\n' +
'from 2 to 3.\r\n' +
'<details>\r\n' +
'<summary>Release notes</summary>\r\n' +
'<p><em>Sourced from <a\r\n' +
`href="https://github.com/aws-actions/configure-aws-credentials/releases">aws-actions/configure-aws-credentials's\r\n` +
'releases</a>.</em></p>\r\n' +
'<blockquote>\r\n' +
'<h2>v3</h2>\r\n' +
'<p>This tag tracks the latest v3.x.x release</p>\r\n' +
'<h2>v2.2.0</h2>\r\n' +
'<p>See the <a\r\n' +
'href="https://github.com/aws-actions/configure-aws-credentials/blob/v2.2.0/CHANGELOG.md">changelog</a>\r\n' +
'for details about the changes included in this release.</p>\r\n' +
'<h2>v2.1.0</h2>\r\n' +
'<p>See the <a\r\n' +
'href="https://github.com/aws-actions/configure-aws-credentials/blob/v2.1.0/CHANGELOG.md">changelog</a>\r\n' +
'for details about the changes included in this release.</p>\r\n' +
'</blockquote>\r\n' +
'</details>\r\n' +
'<details>\r\n' +
'<summary>Changelog</summary>\r\n' +
'<p><em>Sourced from <a\r\n' +
`href="https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md">aws-actions/configure-aws-credentials's\r\n` +
'changelog</a>.</em></p>\r\n' +
'<blockquote>\r\n' +
'<h2><a\r\n' +
'href="https://github.com/aws-actions/configure-aws-credentials/compare/v3.0.0...v3.0.1">3.0.1</a>\r\n' +
'(2023-08-24)</h2>\r\n' +
'<h3>Features</h3>\r\n' +
'<ul>\r\n' +
'<li>Can configure <code>special-characters-workaround</code> to keep\r\n' +
'retrying credentials if the returned\r\n' +
'credentials have special characters (Fixes <a\r\n' +
'href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/599">#599</a>)</li>\r\n' +
'</ul>\r\n' +
'<h3>Bug Fixes</h3>\r\n' +
'<ul>\r\n' +
'<li>Fixes <a\r\n' +
'href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/792">#792</a>:\r\n' +
'Action fails when intending to use existing credentials</li>\r\n' +
'<li>Minor typo fix from <a\r\n' +
'href="https://github.com/ubaid-ansari21"><code>@ubaid-ansari21</code></a></li>\r\n' +
'</ul>\r\n' +
'<h3>Changes to existing functionality</h3>\r\n' +
'<ul>\r\n' +
'<li>Special characters are now allowed in returned credential variables\r\n' +
'unless you configure the\r\n' +
'<code>special-characters-workaround</code> option</li>\r\n' +
'</ul>\r\n' +
|