fix: update release-drafter options #7
release-drafter.yml
on: pull_request
update_release_draft
24s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11532470144',
status: 422,
response: {
url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/releases/182066376',
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: 'Sat, 26 Oct 2024 14:13:28 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': 'D081:28F810:102C29A:1F9E2DC:671CF907',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4986',
'x-ratelimit-reset': '1729955584',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '14',
'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/ryankanno/cookiecutter-py/releases/182066376',
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":"## What’s Changed\\n\\n* feat: updated project defaults (#458) @ryankanno\\n* fix: moved to src folder (#456) @ryankanno\\n* build(deps-dev): Bump starlette from 0.38.5 to 0.40.0 (#454) @dependabot\\n* chore: updated poetry/tox versions in cookiecutter.json (#448) @ryankanno\\n* refactor: update dockerfile to use more readable formatting (#437) @ryankanno\\n* build(deps): Bump certifi from 2024.6.2 to 2024.7.4 (#435) @dependabot\\n* build(deps): Bump urllib3 from 2.2.1 to 2.2.2 (#431) @dependabot\\n* chore: parse supported_python_versions (#428) @ryankanno\\n* docs: updated default doc template (#426) @ryankanno\\n* feat: added latest docs workflow (#424) @ryankanno\\n* fix: switched README from .rst to .md (#423) @ryankanno\\n* fix: update readme + template (#421) @ryankanno\\n* fix: added doc modules (#420) @ryankanno\\n* docs: updated readme (#419) @ryankanno\\n* docs: update readme (#417) @ryankanno\\n* feat: added poetry pre-commit hooks (#415) @ryankanno\\n* docs: updated readme w/ future ideas (#414) @ryankanno\\n* fix: cleaned up tox (#413) @ryankanno\\n* fix: cleaned up watchexec message (#412) @ryankanno\\n* docs: updated readme (#411) @ryankanno\\n* feat: added watchexec to justfile (#410) @ryankanno\\n* docs: updated readme w/ future plans (#409) @ryankanno\\n* feat: added justfile (#408) @ryankanno\\n* feat: added additional tox envs (#407) @ryankanno\\n* fix: added manual ruff to generated template (#406) @ryankanno\\n* fix: add manual ruff stage (#405) @ryankanno\\n* feat: added optional direnv (#404) @ryankanno\\n* docs: updated readme (#403) @ryankanno\\n* fix: removed commented out pyproject python (#402) @ryankanno\\n* docs: fixed cruft create command (#400) @ryankanno\\n* chore: generated project
|
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: '11532470144',
name: 'pull_request',
payload: {
action: 'opened',
number: 463,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/issues/463/comments'
},
commits: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/pulls/463/commits'
},
html: {
href: 'https://github.com/ryankanno/cookiecutter-py/pull/463'
},
issue: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/issues/463'
},
review_comment: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/pulls/463/comments'
},
self: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/pulls/463'
},
statuses: {
href: 'https://api.github.com/repos/ryankanno/cookiecutter-py/statuses/41037af04ea0113578cae5912d594cde563c2354'
}
},
active_lock_reason: null,
additions: 22,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'ryankanno:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/branches{/branch}',
clone_url: 'https://github.com/ryankanno/cookiecutter-py.git',
collaborators_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/comments{/number}',
commits_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/commits{/sha}',
compare_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/contents/{+path}',
contributors_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/contributors',
created_at: '2015-05-05T23:33:02Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/deployments',
description: '🐍 Modern Python project Cookiecutter template',
disabled: false,
downloads_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/downloads',
events_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/events',
fork: false,
forks: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/forks',
full_name: 'ryankanno/cookiecutter-py',
git_commits_url: 'https://api.github.com/repos/ryankanno/cookiecutter-py/git/commits{/sha}',
git_refs
|
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/
|