Add release-drafter action #3
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7147773955',
status: 422,
response: {
url: 'https://api.github.com/repos/replit/replit-py/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: 'Sat, 09 Dec 2023 00:34:08 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': '1C76:0327:1D6835C:3D4F16C:6573B600',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '987',
'x-ratelimit-reset': '1702085383',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '13',
'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/replit/replit-py/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/195/merge","name":"v3.2.6 🌈","tag_name":"v3.2.6","body":"## Changes\\n\\n- Add release-drafter config, in preparation for action @blast-hardcheese (#196)\\n- Bump version to 3.5.0 @blast-hardcheese (#194)\\n- Bump urllib3 from 1.26.15 to 1.26.18 @dependabot (#181)\\n- Bump aiohttp from 3.7.3 to 3.9.0 @dependabot (#191)\\n- Bump werkzeug from 2.3.7 to 3.0.1 @dependabot (#184)\\n- bump version to 3.4.0 @cdmistman (#193)\\n- Support Flask 2.3 @noneofyourbusiness1415252 (#189)\\n- Bump aiohttp from 3.7.3 to 3.9.0 in /docs @dependabot (#190)\\n- update typing\\\\_extensions @ryantm (#170)\\n- [identity] Allow signing tokens @lhchavez (#166)\\n- [identity] Update to include subclusters, user IDs, deployments @lhchavez (#165)\\n- [👻] Update the Ghostwriter token @lhchavez (#163)\\n- Fix spelling @Dev380 (#135)\\n- Rtm 7 18 fix ci @ryantm (#153)\\n- Add retries when fetching data from DB @brenoafb (#149)\\n- bump typing\\\\_extensions @ryantm (#150)\\n- add CODEOWNERS and template @ryantm (#151)\\n- Load Replit DB URL from a file @brenoafb (#139)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '7147773955',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '99c5db465d00ca81ab576c025ab3b88d38fb4815',
before: 'e652f801fc87faa13580efce418347b663b83c04',
number: 195,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/983194?v=4',
description: 'Instantly code and collaborate from anywhere',
events_url: 'https://api.github.com/orgs/replit/events',
hooks_url: 'https://api.github.com/orgs/replit/hooks',
id: 983194,
issues_url: 'https://api.github.com/orgs/replit/issues',
|
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: '7147773955',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '99c5db465d00ca81ab576c025ab3b88d38fb4815',
before: 'e652f801fc87faa13580efce418347b663b83c04',
number: 195,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/983194?v=4',
description: 'Instantly code and collaborate from anywhere',
events_url: 'https://api.github.com/orgs/replit/events',
hooks_url: 'https://api.github.com/orgs/replit/hooks',
id: 983194,
issues_url: 'https://api.github.com/orgs/replit/issues',
login: 'replit',
members_url: 'https://api.github.com/orgs/replit/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk4MzE5NA==',
public_members_url: 'https://api.github.com/orgs/replit/public_members{/member}',
repos_url: 'https://api.github.com/orgs/replit/repos',
url: 'https://api.github.com/orgs/replit'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/replit/replit-py/issues/195/comments'
},
commits: {
href: 'https://api.github.com/repos/replit/replit-py/pulls/195/commits'
},
html: { href: 'https://github.com/replit/replit-py/pull/195' },
issue: {
href: 'https://api.github.com/repos/replit/replit-py/issues/195'
},
review_comment: {
href: 'https://api.github.com/repos/replit/replit-py/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/replit/replit-py/pulls/195/comments'
},
self: {
href: 'https://api.github.com/repos/replit/replit-py/pulls/195'
},
statuses: {
href: 'https://api.github.com/repos/replit/replit-py/statuses/99c5db465d00ca81ab576c025ab3b88d38fb4815'
}
},
active_lock_reason: null,
additions: 32,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'replit:master',
ref: 'master',
repo: {
allow_auto_merge: true,
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/replit/replit-py/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/replit/replit-py/assignees{/user}',
blobs_url: 'https://api.github.com/repos/replit/replit-py/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/replit/replit-py/branches{/branch}',
clone_url: 'https://github.com/replit/replit-py.git',
collaborators_url: 'https://api.github.com/repos/replit/replit-py/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/replit/replit-py/comments{/number}',
commits_url: 'https://api.github.com/repos/replit/replit-py/commits{/sha}',
compare_url: 'https://api.github.com/repos/replit/replit-py/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/replit/replit-py/contents/{+path}',
contributors_url: 'https://api.github.com/repos/replit/replit-py/contributors',
created_at: '2020-07-27T18:30:21Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/r
|