Add submission withdrawal workflow #5219
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12045444601',
status: 422,
response: {
url: 'https://api.github.com/repos/HyphaApp/hypha/releases/187606290',
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: 'Wed, 27 Nov 2024 07:11:07 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': 'BC08:215DDC:80B0434:825C089:6746C60B',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4993',
'x-ratelimit-reset': '1732695064',
'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#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/HyphaApp/hypha/releases/187606290',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n## 🚀 Features\\n\\n* Add new workflow for Request With Review (#4187) @frankduncan\\n\\n## ⚙️ Enhancements\\n\\n* Move form_fields to Report from ReportVersion (#4222) @sandeepsajan0\\n\\n## 🔧 Maintenance\\n\\n* Removing some more old CSS. (#4230) @frjo\\n\\nContributors to this release: @bickelj, @chriszs, @frankduncan, @frjo, @sandeepsajan0, Chris Zubak-Skees and Frank Duncan\\n\\n**Full changelog**: https://github.com/HyphaApp/hypha/compare/v5.19.0...v5.20.0\\n","draft":true,"prerelease":false,"make_latest":"true","name":"5.20.0","tag_name":"v5.20.0","target_commitish":"refs/pull/3298/merge"}',
request: {}
},
event: {
id: '12045444601',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '4d15ac99ee626c73cec52f5f9bc5030d6fe48ac4',
before: '42d5918c63046492716a756518f58f51e6672319',
number: 3298,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/64094491?v=4',
description: 'Hypha is an open source submission management platform to receive and manage applications for funding.',
events_url: 'https://api.github.com/orgs/HyphaApp/events',
hooks_url: 'https://api.github.com/orgs/HyphaApp/hooks',
id: 64094491,
issues_url: 'https://api.github.com/orgs/HyphaApp/issues',
login: 'HyphaApp',
members_url: 'https://api.github.com/orgs/HyphaApp/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjY0MDk0NDkx',
public_members_url: 'https://api.github.com/orgs/HyphaApp/public_members{/member}',
repos_url: 'https://api.github.com/orgs/HyphaApp/repos',
url: 'https://api.github.com/orgs/HyphaApp'
},
pull_request: {
_links: {
comments: {
|
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: '12045444601',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '4d15ac99ee626c73cec52f5f9bc5030d6fe48ac4',
before: '42d5918c63046492716a756518f58f51e6672319',
number: 3298,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/64094491?v=4',
description: 'Hypha is an open source submission management platform to receive and manage applications for funding.',
events_url: 'https://api.github.com/orgs/HyphaApp/events',
hooks_url: 'https://api.github.com/orgs/HyphaApp/hooks',
id: 64094491,
issues_url: 'https://api.github.com/orgs/HyphaApp/issues',
login: 'HyphaApp',
members_url: 'https://api.github.com/orgs/HyphaApp/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjY0MDk0NDkx',
public_members_url: 'https://api.github.com/orgs/HyphaApp/public_members{/member}',
repos_url: 'https://api.github.com/orgs/HyphaApp/repos',
url: 'https://api.github.com/orgs/HyphaApp'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HyphaApp/hypha/issues/3298/comments'
},
commits: {
href: 'https://api.github.com/repos/HyphaApp/hypha/pulls/3298/commits'
},
html: { href: 'https://github.com/HyphaApp/hypha/pull/3298' },
issue: {
href: 'https://api.github.com/repos/HyphaApp/hypha/issues/3298'
},
review_comment: {
href: 'https://api.github.com/repos/HyphaApp/hypha/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/HyphaApp/hypha/pulls/3298/comments'
},
self: {
href: 'https://api.github.com/repos/HyphaApp/hypha/pulls/3298'
},
statuses: {
href: 'https://api.github.com/repos/HyphaApp/hypha/statuses/4d15ac99ee626c73cec52f5f9bc5030d6fe48ac4'
}
},
active_lock_reason: null,
additions: 409,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'HyphaApp:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/HyphaApp/hypha/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/HyphaApp/hypha/assignees{/user}',
blobs_url: 'https://api.github.com/repos/HyphaApp/hypha/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/HyphaApp/hypha/branches{/branch}',
clone_url: 'https://github.com/HyphaApp/hypha.git',
collaborators_url: 'https://api.github.com/repos/HyphaApp/hypha/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/HyphaApp/hypha/comments{/number}',
commits_url: 'https://api.github.com/repos/HyphaApp/hypha/commits{/sha}',
compare_url: 'https://api.github.com/repos/HyphaApp/hypha/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/HyphaApp/hypha/contents/{+path}',
contributors_url: 'https://api.github.com/repos/HyphaApp/hypha/contributors',
created_at: '2015-11-05T01:13:25Z',
default_branch: 'main',
delete_branch_on_merge: false,
|