Dev/enrich frozen #390
release-drafter.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6767919879',
status: 422,
response: {
url: 'https://api.github.com/repos/Josverl/micropython-stubber/releases',
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, 06 Nov 2023 08:07:58 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; contents=write,workflows=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': '4D40:10EC:D19982:1B155F3:65489EDE',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '991',
'x-ratelimit-reset': '1699261671',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/Josverl/micropython-stubber/releases',
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: `{"target_commitish":"refs/pull/433/merge","name":"v1.13.5","tag_name":"v1.13.5","body":"## What's changed\\n* add samskiter as a contributor for code (#444) @allcontributors\\n* Fix bug in get-frozen when using version=latest (#442) @samskiter\\n* Dev/enrich frozen (Sourcery refactored) (#439) @sourcery-ai\\n* chore(deps-dev): bump myst-parser from 0.18.1 to 1.0.0 (#431) @dependabot\\n* chore(deps): bump urllib3 from 2.0.6 to 2.0.7 (#432) @dependabot\\n* Update Board stubber (#380) @Josverl\\n* chore(deps): bump loguru from 0.6.0 to 0.7.2 (#426) @dependabot\\n* Add workflow to score stubs (#430) @Josverl\\n* Testable snippets (#424) @Josverl\\n* Stdlib-updates (#425) @Josverl\\n* chore(deps): bump pyright from 1.1.301 to 1.1.310 (#402) @dependabot\\n* Update Board stubber (Sourcery refactored) (#395) @sourcery-ai\\n## Contributors to this release\\n@Josverl, @allcontributors, @allcontributors[bot], @dependabot, @dependabot[bot], @samskiter, @sourcery-ai and Sourcery AI\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '6767919879',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'bc6989282035e860a6052d80f6771085e360779d',
before: '5710d6cce5966f008024cbbd9488aaee5fc0b2f9',
number: 433,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/433/comments'
},
commits: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/433/commits'
},
html: {
href: 'https://github.com/Josverl/micropython-stubber/pull/433'
},
issue: {
href: 'https://api.githu
|
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: '6767919879',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'bc6989282035e860a6052d80f6771085e360779d',
before: '5710d6cce5966f008024cbbd9488aaee5fc0b2f9',
number: 433,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/433/comments'
},
commits: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/433/commits'
},
html: {
href: 'https://github.com/Josverl/micropython-stubber/pull/433'
},
issue: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/issues/433'
},
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/433/comments'
},
self: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/pulls/433'
},
statuses: {
href: 'https://api.github.com/repos/Josverl/micropython-stubber/statuses/bc6989282035e860a6052d80f6771085e360779d'
}
},
active_lock_reason: null,
additions: 5070,
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: false,
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 use stubs for different micropython firmwares to use with vscode and pylance or pylint',
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: 9,
forks_count: 9,
forks_url: 'https://api.github.com/repos/Josv
|