fix: auth flow improvements #1691
release-drafter.yml
on: pull_request
update_release_draft
7s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11409498904',
status: 422,
response: {
url: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/releases/142396469',
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: 'Fri, 18 Oct 2024 19:04:15 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',
'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': 'A406:28F2ED:CBA50E:18836D1:6712B12F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4982',
'x-ratelimit-reset': '1729281406',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '18',
'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#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/releases/142396469',
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: '{"body":"\\n- Beta @tamalCodes (#1250)\\n\\n## 🚀 New Features\\n\\n- feat: adding events functionality @tamalCodes (#1228)\\n\\n## 🐛 Bug Fixes\\n\\n- Fix/auth UI @tamalCodes (#1273)\\n- fix: footer changes \\\\& remove sw @tamalCodes (#1270)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): bump axios from 1.5.0 to 1.7.7 @dependabot (#1260)\\n- chore(deps): bump react-router-dom from 6.16.0 to 6.26.2 @dependabot (#1267)\\n- chore(deps): bump cookie and express @dependabot (#1269)\\n- chore(deps): bump react-helmet-async from 1.3.0 to 2.0.4 @dependabot (#1206)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.10.0","tag_name":"v0.10.0","target_commitish":"refs/pull/1274/merge"}',
request: {}
},
event: {
id: '11409498904',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'faf799d513ed5ce22042301f9f769178a98b6b3d',
before: '176d3aab0cc2f21dafa09874683f2ae629aa7ac2',
number: 1274,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/141756363?v=4',
description: 'The official community for the project NGOWorld. Join us for a change 🔥',
events_url: 'https://api.github.com/orgs/ngoworldcommunity/events',
hooks_url: 'https://api.github.com/orgs/ngoworldcommunity/hooks',
id: 141756363,
issues_url: 'https://api.github.com/orgs/ngoworldcommunity/issues',
login: 'ngoworldcommunity',
members_url: 'https://api.github.com/orgs/ngoworldcommunity/members{/member}',
node_id: 'O_kgDOCHMHyw',
public_members_url: 'https://api.github.com/orgs/ngoworldcommunity/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ngoworldcommunity/repos',
url: 'ht
|
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: '11409498904',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'faf799d513ed5ce22042301f9f769178a98b6b3d',
before: '176d3aab0cc2f21dafa09874683f2ae629aa7ac2',
number: 1274,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/141756363?v=4',
description: 'The official community for the project NGOWorld. Join us for a change 🔥',
events_url: 'https://api.github.com/orgs/ngoworldcommunity/events',
hooks_url: 'https://api.github.com/orgs/ngoworldcommunity/hooks',
id: 141756363,
issues_url: 'https://api.github.com/orgs/ngoworldcommunity/issues',
login: 'ngoworldcommunity',
members_url: 'https://api.github.com/orgs/ngoworldcommunity/members{/member}',
node_id: 'O_kgDOCHMHyw',
public_members_url: 'https://api.github.com/orgs/ngoworldcommunity/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ngoworldcommunity/repos',
url: 'https://api.github.com/orgs/ngoworldcommunity'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/issues/1274/comments'
},
commits: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/pulls/1274/commits'
},
html: {
href: 'https://github.com/ngoworldcommunity/NGOWorld/pull/1274'
},
issue: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/issues/1274'
},
review_comment: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/pulls/1274/comments'
},
self: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/pulls/1274'
},
statuses: {
href: 'https://api.github.com/repos/ngoworldcommunity/NGOWorld/statuses/faf799d513ed5ce22042301f9f769178a98b6b3d'
}
},
active_lock_reason: null,
additions: 136,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/72851613?v=4',
events_url: 'https://api.github.com/users/tamalCodes/events{/privacy}',
followers_url: 'https://api.github.com/users/tamalCodes/followers',
following_url: 'https://api.github.com/users/tamalCodes/following{/other_user}',
gists_url: 'https://api.github.com/users/tamalCodes/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/tamalCodes',
id: 72851613,
login: 'tamalCodes',
node_id: 'MDQ6VXNlcjcyODUxNjEz',
organizations_url: 'https://api.github.com/users/tamalCodes/orgs',
received_events_url: 'https://api.github.com/users/tamalCodes/received_events',
repos_url: 'https://api.github.com/users/tamalCodes/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/tamalCodes/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/tamalCodes/subscriptions',
type: 'User',
url: 'https://api.github.com/users/tamalCodes',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/72851613?v=4',
events_url: 'https://api.github.com/users/tamalCodes/events{/privacy}',
followers_url: 'https://api.github.com/users/tam
|
update_release_draft
The following actions use a deprecated Node.js version 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/
|