fix async return value problem #7
draft-release-notes-workflow.yml
on: push
Update draft release notes
24s
Annotations
2 errors
Update draft release notes
Resource not accessible by integration
{
name: 'HttpError',
id: '6499238463',
status: 403,
response: {
url: 'https://api.github.com/repos/HenryL27/ml-commons/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, 12 Oct 2023 18:01:17 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': 'C481:577A:20B20E:411885:6528346D',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '997',
'x-ratelimit-reset': '1697137256',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '3',
'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/HenryL27/ml-commons/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 here)","tag_name":"(None)","body":"Compatible with OpenSearch (**set version here**).\\n* No changes\\n","draft":true,"prerelease":false}',
request: {}
},
event: {
id: '6499238463',
name: 'push',
payload: {
after: '0f8069166ada7ade352e517e0fb21cf68931c2a5',
base_ref: null,
before: '0d116af3a5708b0dd7a759748ce387ff33828fdd',
commits: [
{
author: {
email: '[email protected]',
name: 'Dhrubo Saha',
username: 'dhrubo-os'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'fe29ac56bdbe5ff55eed0d2ad4bfbf70b00f166f',
message: 'release note 2.11.0.0 (#1478)\n' +
'\n' +
'* release note 2.11.0.0\r\n' +
'\r\n' +
'Signed-off-by: Dhrubo Saha <[email protected]>\r\n' +
'\r\n' +
'* added few more changes\r\n' +
'\r\n' +
'Signed-off-by: Dhrubo Saha <[email protected]>\r\n' +
'\r\n' +
'---------\r\n' +
'\r\n' +
'Signed-off-by: Dhrubo Saha <[email protected]>',
timestamp: '2023-10-11T13:56:01-07:00',
tree_id: '95b39d75625882dd05a50a0d24000503f3e7cf1b',
url: 'https://github.com/HenryL27/ml-commons/commit/fe29ac56bdbe5ff55eed0d2ad4bfbf70b00f166f'
},
{
author: {
email: '98922864+opensearch-trigger-bot[bot]@users.noreply.github.com',
name: 'opensearch-trigger-bot[bot]',
username: 'opensearch-trigger-bot[bot]'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id:
|
Update draft release notes
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: '6499238463',
name: 'push',
payload: {
after: '0f8069166ada7ade352e517e0fb21cf68931c2a5',
base_ref: null,
before: '0d116af3a5708b0dd7a759748ce387ff33828fdd',
commits: [
{
author: {
email: '[email protected]',
name: 'Dhrubo Saha',
username: 'dhrubo-os'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'fe29ac56bdbe5ff55eed0d2ad4bfbf70b00f166f',
message: 'release note 2.11.0.0 (#1478)\n' +
'\n' +
'* release note 2.11.0.0\r\n' +
'\r\n' +
'Signed-off-by: Dhrubo Saha <[email protected]>\r\n' +
'\r\n' +
'* added few more changes\r\n' +
'\r\n' +
'Signed-off-by: Dhrubo Saha <[email protected]>\r\n' +
'\r\n' +
'---------\r\n' +
'\r\n' +
'Signed-off-by: Dhrubo Saha <[email protected]>',
timestamp: '2023-10-11T13:56:01-07:00',
tree_id: '95b39d75625882dd05a50a0d24000503f3e7cf1b',
url: 'https://github.com/HenryL27/ml-commons/commit/fe29ac56bdbe5ff55eed0d2ad4bfbf70b00f166f'
},
{
author: {
email: '98922864+opensearch-trigger-bot[bot]@users.noreply.github.com',
name: 'opensearch-trigger-bot[bot]',
username: 'opensearch-trigger-bot[bot]'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '89f9b850525c8f5708e4ea13b4b168757df67408',
message: 'Fix prompt passing for Bedrock by passing a single string prompt for … (#1490) (#1497)\n' +
'\n' +
'* Fix prompt passing for Bedrock by passing a single string prompt for Bedrock models. (https://github.com/opensearch-project/ml-commons/issues/1476)\r\n' +
'\r\n' +
'Signed-off-by: Austin Lee <[email protected]>\r\n' +
'\r\n' +
'* Add unit tests, apply Spotless.\r\n' +
'\r\n' +
'Signed-off-by: Austin Lee <[email protected]>\r\n' +
'\r\n' +
'* Check if systemPrompt is null.\r\n' +
'\r\n' +
'Signed-off-by: Austin Lee <[email protected]>\r\n' +
'\r\n' +
'* Address review comments.\r\n' +
'\r\n' +
'Signed-off-by: Austin Lee <[email protected]>\r\n' +
'\r\n' +
'---------\r\n' +
'\r\n' +
'Signed-off-by: Austin Lee <[email protected]>\r\n' +
'(cherry picked from commit e18f2499582483e0a88f8336c6e078d41143c2f4)\r\n' +
'\r\n' +
'Co-authored-by: Austin Lee <[email protected]>',
timestamp: '2023-10-11T16:25:08-07:00',
tree_id: '5452dfb14e5fcf305eb330d699332048ba05878e',
url: 'https://github.com/HenryL27/ml-commons/commit/89f9b850525c8f5708e4ea13b4b168757df67408'
},
{
author: {
email: '[email protected]',
name: 'Owais Kazi',
username: 'owaiskazi19'
},
committer: {
email: '[email protected]',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'd265fc7f48b4b17f969b9a589ccde4f5ffd9891e',
message: 'Added create connector API for MLClient (#1437)\n' +
'\n' +
'* Adds create connector API for MLClient\r\n' +
'\r\n' +
'Signed-off-by
|