[pre-commit.ci] pre-commit suggestions #323
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8510803058',
status: 422,
response: {
url: 'https://api.github.com/repos/ar90n/alfort/releases/79544673',
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: 'Mon, 01 Apr 2024 16:44:02 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': '508E:F5A3E:3B5A5F1:600674C:660AE452',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4990',
'x-ratelimit-reset': '1711993428',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'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/ar90n/alfort/releases/79544673',
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":"## Changes\\n\\n- chore(deps): update dependency pyright to v1.1.352 @renovate (#83)\\n- chore(deps): update dependency pyright to v1.1.311 @renovate (#81)\\n- chore(deps): update dependency pytest-cov to v4.1.0 @renovate (#80)\\n- chore(deps): update dependency ruff to ^0.0.270 @renovate (#79)\\n- chore(deps): update dependency pyright to v1.1.310 @renovate (#78)\\n- chore(deps): update dependency docformatter to v1.7.1 @renovate (#77)\\n- chore(deps): update dependency ruff to ^0.0.269 @renovate (#76)\\n- chore(deps): update dependency pytest-xdist to v3.3.1 @renovate (#75)\\n- chore(deps): update dependency pyright to v1.1.309 @renovate (#74)\\n- chore(deps): update dependency pre-commit to v3.3.2 @renovate (#73)\\n- chore(deps): update dependency pytest-xdist to v3.3.0 @renovate (#72)\\n- chore(deps): update dependency ruff to ^0.0.267 @renovate (#71)\\n- chore(deps): update dependency pyright to v1.1.308 @renovate (#70)\\n- chore(deps): update dependency commitizen to v3.2.2 @renovate (#69)\\n- chore(deps): update dependency pre-commit to v3.3.1 @renovate (#68)\\n- chore(deps): update dependency poethepoet to ^0.20.0 @renovate (#67)\\n- chore(deps): update dependency commitizen to v3.2.1 @renovate (#66)\\n- chore(deps): update dependency ruff to ^0.0.265 @renovate (#65)\\n- chore(deps): update dependency pyright to v1.1.306 @renovate (#64)\\n- chore(deps): update dependency docformatter to v1.6.5 @renovate (#63)\\n- chore(deps): update dependency commitizen to v3.1.1 @renovate (#62)\\n- chore(deps): update dependency ruff to ^0.0.263 @renovate (#61)\\n- chore(deps): update dependency pyright to v1.1.305 @renovate (#60)\\n- chore(deps): update dependency docformatter to v1.6.4 @renovate (#59)\\n- build: use ruff @ar90n (#58)\\n- chore(deps): update dependency py
|
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: '8510803058',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '70e909b153dc382127da843b99ee75c95d432458',
before: '3bdc5a24a8919c8b8f0d1d2a534fc33ab2bb52cb',
number: 88,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ar90n/alfort/issues/88/comments'
},
commits: {
href: 'https://api.github.com/repos/ar90n/alfort/pulls/88/commits'
},
html: { href: 'https://github.com/ar90n/alfort/pull/88' },
issue: {
href: 'https://api.github.com/repos/ar90n/alfort/issues/88'
},
review_comment: {
href: 'https://api.github.com/repos/ar90n/alfort/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ar90n/alfort/pulls/88/comments'
},
self: {
href: 'https://api.github.com/repos/ar90n/alfort/pulls/88'
},
statuses: {
href: 'https://api.github.com/repos/ar90n/alfort/statuses/70e909b153dc382127da843b99ee75c95d432458'
}
},
active_lock_reason: null,
additions: 13,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'ar90n:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/ar90n/alfort/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ar90n/alfort/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ar90n/alfort/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ar90n/alfort/branches{/branch}',
clone_url: 'https://github.com/ar90n/alfort.git',
collaborators_url: 'https://api.github.com/repos/ar90n/alfort/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ar90n/alfort/comments{/number}',
commits_url: 'https://api.github.com/repos/ar90n/alfort/commits{/sha}',
compare_url: 'https://api.github.com/repos/ar90n/alfort/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ar90n/alfort/contents/{+path}',
contributors_url: 'https://api.github.com/repos/ar90n/alfort/contributors',
created_at: '2022-04-04T11:44:51Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/ar90n/alfort/deployments',
description: 'Elm-like interactive application framework for Python',
disabled: false,
downloads_url: 'https://api.github.com/repos/ar90n/alfort/downloads',
events_url: 'https://api.github.com/repos/ar90n/alfort/events',
fork: false,
forks: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/ar90n/alfort/forks',
full_name: 'ar90n/alfort',
git_commits_url: 'https://api.github.com/repos/ar90n/alfort/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/ar90n/alfort/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/ar90n/alfort/git/tags{/sha}',
git_url: 'git://github.com/ar90n/alfort.git',
has_discuss
|
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/.
|