Improve the fx logger #815
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8356800414',
status: 422,
response: {
url: 'https://api.github.com/repos/theduckcompany/duckcloud/releases/145057413',
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: 'Wed, 20 Mar 2024 09:45:55 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': '8046:58B2:73E778:DA61F9:65FAB053',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1710931553',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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/theduckcompany/duckcloud/releases/145057413',
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":"# Release Notes\\n\\n- Add a systemd unit-file example (#584) @Peltoche\\n- Clean the cli flags declaration (#588) @Peltoche\\n- Do not remove the password file created by systemd-creds (#583) @Peltoche\\n- Put back the var_file (#587) @Peltoche\\n- Refactor the dfs tests (#603) @Peltoche\\n- Refactor the files tests (#601) @Peltoche\\n- Remove the use of var_file (#586) @Peltoche\\n- Rename the User field inside users.CreateCmd to CreatedBy (#589) @Peltoche\\n- Use the WriteHTMLTemplate method for the home page rendering (#599) @Peltoche\\n\\n## 🚀 Features\\n\\n- Handle the remember option at login (#610) @Peltoche\\n\\n## 🧰 Maintenance\\n\\n- Create the type SQLTime to handle correctly the dates in sql (#579) @Peltoche\\n- Enable the strict mode for all the sql tables (#581) @Peltoche\\n- Enforce the string type for all configs (#580) @Peltoche\\n- Remove the deprecated WriteHTML method (#600) @Peltoche\\n- Save the user last password change date (#582) @Peltoche\\n- Use the urlparams to generate the dsn url (#585) @Peltoche\\n\\n🎉 **Thanks to all contributors helping with this release!** 🎉\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Coming soon","tag_name":"latest","target_commitish":"refs/pull/611/merge"}',
request: {}
},
event: {
id: '8356800414',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '77e31bf269739f6ae4636e86a1c5917fb563296f',
before: 'd12292768b818118b45e664c5ae396ea00d508a0',
number: 611,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/142665376?v=4',
description: '',
events_url: 'https://api.github.com/orgs/theduckcompany/events',
hooks_url: 'https://api.github.com/orgs/theduckcompany/
|
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: '8356800414',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '77e31bf269739f6ae4636e86a1c5917fb563296f',
before: 'd12292768b818118b45e664c5ae396ea00d508a0',
number: 611,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/142665376?v=4',
description: '',
events_url: 'https://api.github.com/orgs/theduckcompany/events',
hooks_url: 'https://api.github.com/orgs/theduckcompany/hooks',
id: 142665376,
issues_url: 'https://api.github.com/orgs/theduckcompany/issues',
login: 'theduckcompany',
members_url: 'https://api.github.com/orgs/theduckcompany/members{/member}',
node_id: 'O_kgDOCIDmoA',
public_members_url: 'https://api.github.com/orgs/theduckcompany/public_members{/member}',
repos_url: 'https://api.github.com/orgs/theduckcompany/repos',
url: 'https://api.github.com/orgs/theduckcompany'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/issues/611/comments'
},
commits: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/pulls/611/commits'
},
html: {
href: 'https://github.com/theduckcompany/duckcloud/pull/611'
},
issue: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/issues/611'
},
review_comment: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/pulls/611/comments'
},
self: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/pulls/611'
},
statuses: {
href: 'https://api.github.com/repos/theduckcompany/duckcloud/statuses/77e31bf269739f6ae4636e86a1c5917fb563296f'
}
},
active_lock_reason: null,
additions: 9,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'theduckcompany:master',
ref: 'master',
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/theduckcompany/duckcloud/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/theduckcompany/duckcloud/assignees{/user}',
blobs_url: 'https://api.github.com/repos/theduckcompany/duckcloud/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/theduckcompany/duckcloud/branches{/branch}',
clone_url: 'https://github.com/theduckcompany/duckcloud.git',
collaborators_url: 'https://api.github.com/repos/theduckcompany/duckcloud/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/theduckcompany/duckcloud/comments{/number}',
commits_url: 'https://api.github.com/repos/theduckcompany/duckcloud/commits{/sha}',
compare_url: 'https://api.github.com/repos/theduckcompany/duckcloud/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/theduckcompany/duckcloud/contents/{+path}',
contributors_url: 'https://api.github.com/repos/theduckcompany/duckcloud/contributo
|
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/.
|