[Feat] Use only OneSignal ID for requests #463
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10103218867',
status: 422,
response: {
url: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 25 Jul 2024 23:55:31 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': '8088:239478:891B84:F9479D:66A2E5F2',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4993',
'x-ratelimit-reset': '1721955328',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/1464/merge","name":"5.2.3","tag_name":"5.2.3","body":"## Other Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '10103218867',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'bc9112c394bc9382c0f451b6c17a2bc901bc949a',
before: '589bc349470cba4758c7c18890ed8e7d27ec8665',
number: 1464,
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-iOS-SDK/issues/1464/comments'
},
commits: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/pulls/1464/commits'
},
html: {
href: 'https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1464'
},
issue: {
href: 'https://api.github.com/repos/OneS
|
update_release_draft
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10103218867',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'bc9112c394bc9382c0f451b6c17a2bc901bc949a',
before: '589bc349470cba4758c7c18890ed8e7d27ec8665',
number: 1464,
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-iOS-SDK/issues/1464/comments'
},
commits: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/pulls/1464/commits'
},
html: {
href: 'https://github.com/OneSignal/OneSignal-iOS-SDK/pull/1464'
},
issue: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/issues/1464'
},
review_comment: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/pulls/1464/comments'
},
self: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/pulls/1464'
},
statuses: {
href: 'https://api.github.com/repos/OneSignal/OneSignal-iOS-SDK/statuses/bc9112c394bc9382c0f451b6c17a2bc901bc949a'
}
},
active_lock_reason: null,
additions: 133,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/13123372?v=4',
events_url: 'https://api.github.com/users/emawby/events{/privacy}',
followers_url: 'https://api.github.com/users/emawby/followers',
following_url: 'https://api.github.com/users/emawby/following{/other_user}',
gists_url: 'https://api.github.com/users/emawby/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/emawby',
id: 13123372,
login: 'emawby',
node_id: 'MDQ6VXNlcjEzMTIzMzcy',
organizations_url: 'https://api.github.com/users/emawby/orgs',
received_events_url: 'https://api.github.com/users/emawby/received_events',
repos_url: 'https://api.github.com/users/emawby/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/emawby/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/emawby/subscriptions',
type: 'User',
url: 'https://api.github.com/users/emawby'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/13123372?v=4',
events_url: 'https://api.github.com/users/emawby/events{/privacy}',
followers_url: 'https://api.github.com/users/emawby/followers',
following_url: 'https://api.github.com/users/emawby/following{/other_user}',
|
update_release_draft
The following actions uses Node.js version which is deprecated and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|