[docs] fix formatting #1192
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: '12608261468',
status: 422,
response: {
url: 'https://api.github.com/repos/jameslamb/pydistcheck/releases/181842161',
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, 04 Jan 2025 06:28:59 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': 'E82E:33580B:29E395AB:2AD02F94:6778D52B',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4990',
'x-ratelimit-reset': '1735975737',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/jameslamb/pydistcheck/releases/181842161',
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## 💡 New Features\\n\\n- set floors on runtime dependencies (fixes #272) @jameslamb (#278)\\n- Support more units and ignore case in file-size config options @jameslamb (#277)\\n\\n## 🙈 Bug Fixes\\n\\n- Correctly vendor `delocate` license in wheels @jameslamb (#290)\\n\\n## 📖 Documentation\\n\\n- [docs] add \'cph\' and \'validate-pyproject\' to docs (fixes #283) @jameslamb (#292)\\n- [docs] improve zstandard error message @Inifomeeo (#287)\\n\\n## 🛠 Maintenance\\n\\n- [ci] update versions of CI dependencies @jameslamb (#291)\\n- [ci] add codespell @jameslamb (#289)\\n- [ci]: Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 in the ci-dependencies group @dependabot (#288)\\n- [ci]: Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 in the ci-dependencies group @dependabot (#282)\\n- [ci] use yamllint, update pre-commit hooks @jameslamb (#281)\\n- add flake8-fixme checks @jameslamb (#276)\\n- [ci]: Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 in the ci-dependencies group @dependabot (#275)\\n- bump development version @jameslamb (#273)\\n\\n## Contributors\\n@Inifomeeo, @dependabot, @dependabot[bot] and @jameslamb\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.8.1","tag_name":"v0.8.1","target_commitish":"refs/pull/294/merge"}',
request: {}
},
event: {
id: '12608261468',
name: 'pull_request',
payload: {
action: 'opened',
number: 294,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/issues/294/comments'
},
commits: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/294/commits'
},
html: { hr
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12608261468',
name: 'pull_request',
payload: {
action: 'opened',
number: 294,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/issues/294/comments'
},
commits: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/294/commits'
},
html: { href: 'https://github.com/jameslamb/pydistcheck/pull/294' },
issue: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/issues/294'
},
review_comment: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/294/comments'
},
self: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/294'
},
statuses: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/statuses/f6a03e4eb815539d5f0cc4bbee752acd6e1e797b'
}
},
active_lock_reason: null,
additions: 2,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'jameslamb: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/jameslamb/pydistcheck/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/jameslamb/pydistcheck/assignees{/user}',
blobs_url: 'https://api.github.com/repos/jameslamb/pydistcheck/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/jameslamb/pydistcheck/branches{/branch}',
clone_url: 'https://github.com/jameslamb/pydistcheck.git',
collaborators_url: 'https://api.github.com/repos/jameslamb/pydistcheck/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/jameslamb/pydistcheck/comments{/number}',
commits_url: 'https://api.github.com/repos/jameslamb/pydistcheck/commits{/sha}',
compare_url: 'https://api.github.com/repos/jameslamb/pydistcheck/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/jameslamb/pydistcheck/contents/{+path}',
contributors_url: 'https://api.github.com/repos/jameslamb/pydistcheck/contributors',
created_at: '2022-06-21T03:06:45Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/jameslamb/pydistcheck/deployments',
description: 'Linter that finds portability issues in Python package distributions (wheels, sdists, conda packages).',
disabled: false,
downloads_url: 'https://api.github.com/repos/jameslamb/pydistcheck/downloads',
events_url: 'https://api.github.com/repos/jameslamb/pydistcheck/events',
fork: false,
forks: 2,
forks_count: 2,
forks_url: 'https://api.github.com/repos/jameslamb/pydistcheck/forks',
full_name: 'jameslamb/pydistcheck',
git_commits_url: 'https://api.github.com/repos/jameslamb/pydistcheck/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/jameslamb/pydistcheck/git/refs{
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|