Add OneSignalId and ExternalId getters as well as a user changed observer #69
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8383186357',
status: 422,
response: {
url: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/releases',
status: 422,
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-length': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 21 Mar 2024 23:44:14 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
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': '6C26:88EA9:25B32C:41D43A:65FCC64D',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1711068252',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/98/merge","name":"5.1.2","tag_name":"5.1.2","body":"## Other Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '8383186357',
name: 'pull_request',
payload: {
action: 'opened',
number: 98,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/11823027?v=4',
description: 'The market leading customer engagement solution for Push Notifications, Email, SMS & In-App.',
events_url: 'https://api.github.com/orgs/OneSignal/events',
hooks_url: 'https://api.github.com/orgs/OneSignal/hooks',
id: 11823027,
issues_url: 'https://api.github.com/orgs/OneSignal/issues',
login: 'OneSignal',
members_url: 'https://api.github.com/orgs/OneSignal/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjExODIzMDI3',
public_members_url: 'https://api.github.com/orgs/OneSignal/public_members{/member}',
repos_url: 'https://api.github.com/orgs/OneSignal/repos',
url: 'https://api.github.com/orgs/OneSignal'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/issues/98/comments'
},
commits: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/pulls/98/commits'
},
html: {
href: 'https://github.com/OneSignal/OneSignal-DotNet-SDK/pull/98'
},
issue: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/issues/98'
},
review_comment: {
href: 'https://api.github.com/repos/OneSignal/On
|
Run release-drafter/release-drafter@v5
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '8383186357',
name: 'pull_request',
payload: {
action: 'opened',
number: 98,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/11823027?v=4',
description: 'The market leading customer engagement solution for Push Notifications, Email, SMS & In-App.',
events_url: 'https://api.github.com/orgs/OneSignal/events',
hooks_url: 'https://api.github.com/orgs/OneSignal/hooks',
id: 11823027,
issues_url: 'https://api.github.com/orgs/OneSignal/issues',
login: 'OneSignal',
members_url: 'https://api.github.com/orgs/OneSignal/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjExODIzMDI3',
public_members_url: 'https://api.github.com/orgs/OneSignal/public_members{/member}',
repos_url: 'https://api.github.com/orgs/OneSignal/repos',
url: 'https://api.github.com/orgs/OneSignal'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/issues/98/comments'
},
commits: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/pulls/98/commits'
},
html: {
href: 'https://github.com/OneSignal/OneSignal-DotNet-SDK/pull/98'
},
issue: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/issues/98'
},
review_comment: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/pulls/98/comments'
},
self: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/pulls/98'
},
statuses: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-DotNet-SDK/statuses/9f6c4f5244eeda84202c7ae2fa46bcf07cd45e1f'
}
},
active_lock_reason: null,
additions: 235,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/33338925?v=4',
events_url: 'https://api.github.com/users/shepherd-l/events{/privacy}',
followers_url: 'https://api.github.com/users/shepherd-l/followers',
following_url: 'https://api.github.com/users/shepherd-l/following{/other_user}',
gists_url: 'https://api.github.com/users/shepherd-l/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/shepherd-l',
id: 33338925,
login: 'shepherd-l',
node_id: 'MDQ6VXNlcjMzMzM4OTI1',
organizations_url: 'https://api.github.com/users/shepherd-l/orgs',
received_events_url: 'https://api.github.com/users/shepherd-l/received_events',
repos_url: 'https://api.github.com/users/shepherd-l/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/shepherd-l/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/shepherd-l/subscriptions',
type: 'User',
url: 'https://api.github.com/users/shepherd-l'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/33338925?v=4',
events_url: 'https://api.github.com/users/shepherd-l/events{/privacy}',
followers_url: 'https://api.github.com/users/shepherd-l/followers',
following_url: 'https://api.github.com/users/shepherd-l/following{/other_user}',
gists_url: 'https://api.github.com/users/shepher
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading