Enhance board ID handling and repository fetching #665
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12469727971',
status: 422,
response: {
url: 'https://api.github.com/repos/Josverl/micropython-stubber/releases/135388807',
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: 'Mon, 23 Dec 2024 16:14:56 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': 'F406:277A7:A75EC39:14DF264B:67698C80',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4992',
'x-ratelimit-reset': '1734974092',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '8',
'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/Josverl/micropython-stubber/releases/135388807',
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":"## What's changed\\n* mpflash: Fix macOS specific ports scanning issues (#634) @Josverl\\n* Migrate database management to SQLite and enhance table formatting (#631) @Josverl\\n* build(deps): bump mypy from 1.9.0 to 1.10.1 (#594) @dependabot\\n* build(deps): bump libcst from 1.3.1 to 1.4.0 (#596) @dependabot\\n* build(deps): bump pyright from 1.1.361 to 1.1.370 (#601) @dependabot\\n* build(deps-dev): bump sphinx-click from 5.1.0 to 6.0.0 (#597) @dependabot\\n* build(deps-dev): bump ipykernel from 6.29.4 to 6.29.5 (#600) @dependabot\\n* build(deps): bump importlib-metadata from 7.1.0 to 8.0.0 (#593) @dependabot\\n## Contributors to this release\\n@Josverl, @dependabot and @dependabot[bot]\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.23.2","tag_name":"v1.23.2","target_commitish":"refs/pull/632/merge"}`,
request: {}
},
event: {
id: '12469727971',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '554a8fbd866fb02cfc9d87834d31c257ceb171ec',
before: '4dbca2ae56c8b5da05a0d40fe3e76c31e8e991df',
number: 632,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/632/comments'
},
commits: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/632/commits'
},
html: {
href: 'https://github.com/Josverl/micropython-stubber/pull/632'
},
issue: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/632'
},
review_comment: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/comments{
|
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: '12469727971',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '554a8fbd866fb02cfc9d87834d31c257ceb171ec',
before: '4dbca2ae56c8b5da05a0d40fe3e76c31e8e991df',
number: 632,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/632/comments'
},
commits: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/632/commits'
},
html: {
href: 'https://github.com/Josverl/micropython-stubber/pull/632'
},
issue: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/632'
},
review_comment: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/632/comments'
},
self: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/632'
},
statuses: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/statuses/554a8fbd866fb02cfc9d87834d31c257ceb171ec'
}
},
active_lock_reason: null,
additions: 252,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'Josverl:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/Josverl/micropython-stubber/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Josverl/micropython-stubber/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Josverl/micropython-stubber/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Josverl/micropython-stubber/branches{/branch}',
clone_url: 'https://github.com/Josverl/micropython-stubber.git',
collaborators_url: 'https://api.github.com/repos/Josverl/micropython-stubber/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Josverl/micropython-stubber/comments{/number}',
commits_url: 'https://api.github.com/repos/Josverl/micropython-stubber/commits{/sha}',
compare_url: 'https://api.github.com/repos/Josverl/micropython-stubber/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/Josverl/micropython-stubber/contents/{+path}',
contributors_url: 'https://api.github.com/repos/Josverl/micropython-stubber/contributors',
created_at: '2019-03-26T16:00:53Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/Josverl/micropython-stubber/deployments',
description: 'Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or MyPy',
disabled: false,
downloads_url: 'https://api.github.com/repos/Josverl/micropython-stubber/downloads',
events_url: 'https://api.github.com/repos/Josverl/micropython-stubber/events',
fork: false,
forks: 13,
forks_count: 13,
forks_url:
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|