release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7764950404',
status: 422,
response: {
url: 'https://api.github.com/repos/milancommunity/Milan-Backend/releases/115707363',
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: 'Sat, 03 Feb 2024 05:48:29 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': 'A306:8D76:2D964D:5EA0F3:65BDD3AC',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '984',
'x-ratelimit-reset': '1706942896',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '16',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/milancommunity/Milan-Backend/releases/115707363',
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: '{"body":"\\n- fix: changes made to the club routes and DB @tamalCodes (#17)\\n\\n## 🚀 New Features\\n\\n- feat: added oauth configration details @tejaskh3 (#43)\\n- feat: implemented create event route @MahendraDani (#39)\\n- feat: added fields to club schema @tejaskh3 (#38)\\n- feat: added event schema @tejaskh3 (#31)\\n\\n## 🐛 Bug Fixes\\n\\n- feat: added oauth configration details @tejaskh3 (#43)\\n- fix: used status variables from utils in all routes @MahendraDani (#48)\\n- fix: user Route and Google Oauth @RajBhattacharyya (#45)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): bump mongoose from 7.4.2 to 7.5.2 @dependabot (#21)\\n- chore(deps): bump eslint from 8.46.0 to 8.50.0 @dependabot (#22)\\n- chore(deps): bump prettier from 2.8.8 to 3.0.1 @dependabot (#1)\\n- chore(deps): bump dotenv from 15.0.1 to 16.3.1 @dependabot (#3)\\n- chore(deps): bump nodemon from 2.0.22 to 3.0.1 @dependabot (#2)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.2.0","tag_name":"v1.2.0","target_commitish":"refs/pull/59/merge"}',
request: {}
},
event: {
id: '7764950404',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '451c240fcf51a9546c8f498e09106fd74425d892',
before: '1d9d242508c4708053ff7db84e56e7ef61ba5fb8',
number: 59,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/141756363?v=4',
description: 'The official community for the project Milan. Join us for a change 🔥',
events_url: 'https://api.github.com/orgs/milancommunity/events',
hooks_url: 'https://api.github.com/orgs/milancommunity/hooks',
id: 141756363,
issues_url: 'https://api.github.com/orgs/milancommunity/issues',
login: 'milancommunity',
|
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 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: '7764950404',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '451c240fcf51a9546c8f498e09106fd74425d892',
before: '1d9d242508c4708053ff7db84e56e7ef61ba5fb8',
number: 59,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/141756363?v=4',
description: 'The official community for the project Milan. Join us for a change 🔥',
events_url: 'https://api.github.com/orgs/milancommunity/events',
hooks_url: 'https://api.github.com/orgs/milancommunity/hooks',
id: 141756363,
issues_url: 'https://api.github.com/orgs/milancommunity/issues',
login: 'milancommunity',
members_url: 'https://api.github.com/orgs/milancommunity/members{/member}',
node_id: 'O_kgDOCHMHyw',
public_members_url: 'https://api.github.com/orgs/milancommunity/public_members{/member}',
repos_url: 'https://api.github.com/orgs/milancommunity/repos',
url: 'https://api.github.com/orgs/milancommunity'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/issues/59/comments'
},
commits: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/pulls/59/commits'
},
html: {
href: 'https://github.com/milancommunity/Milan-Backend/pull/59'
},
issue: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/issues/59'
},
review_comment: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/pulls/59/comments'
},
self: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/pulls/59'
},
statuses: {
href: 'https://api.github.com/repos/milancommunity/Milan-Backend/statuses/451c240fcf51a9546c8f498e09106fd74425d892'
}
},
active_lock_reason: null,
additions: 3,
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'
},
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/tamalCodes/followers',
following_url: 'https://api.github.com/u
|
update_release_draft
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/.
|