[ci] add workflow to check PR labels #1213
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors and 4 warnings
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '13223020049',
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',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sun, 09 Feb 2025 06:13:20 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': '27C1:BE1B2:279E43F:4FFC7C3:67A84780',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4955',
'x-ratelimit-reset': '1739084000',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '45',
'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.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)',
'x-github-delivery': '13223020049',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n## 💡 New Features\\n\\n- Show 3 digits instead of 1 in file size strings. @bdice (#296)\\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- fix parsing of unit strings with 2 letters (fixes #300) @jameslamb (#301)\\n- Correctly vendor `delocate` license in wheels @jameslamb (#290)\\n\\n## 📖 Documentation\\n\\n- [docs] fix formatting @jameslamb (#294)\\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]: Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 in the ci-dependencies group @[dependabot[bot]](https://github.com/apps/dependabot) (#298)\\n- [ci] add CMake linting/formatting, update `pre-commit` hooks, re-arrange modules @jameslamb (#295)\\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[bot]](https://github.com/apps/dependabot) (#288)\\n- [ci]: Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 in the ci-dependencies group @[dependabot[bot]](https://github.com/apps/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[bot]](https://github.com/apps/dependabot) (#275)\\n- bump development version @jameslamb (#273)\\n\\n## Contributors\\n@Inifomeeo, @bdice, @dependabot[bot], @jameslamb and
|
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:7146: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:61885:18)
{
name: 'AggregateError',
event: {
id: '13223020049',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c31351b63a1e3d273e86d37382131a626f3a00e1',
before: '4bc67a3a0e813c67da56fbf38b072d985ec7ad56',
number: 302,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/issues/302/comments'
},
commits: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/302/commits'
},
html: { href: 'https://github.com/jameslamb/pydistcheck/pull/302' },
issue: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/issues/302'
},
review_comment: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/302/comments'
},
self: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/pulls/302'
},
statuses: {
href: 'https://api.github.com/repos/jameslamb/pydistcheck/statuses/c31351b63a1e3d273e86d37382131a626f3a00e1'
}
},
active_lock_reason: null,
additions: 27,
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: 3,
forks_count: 3,
forks_url: 'https://api.github.com/repos/jameslamb/pydistcheck/forks',
full_name: 'jameslamb/pydistcheck',
git_commits_url: 'https://api.github.com/repos/jameslam
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|