[RELEASE, DOCS, FIX] Fix fastkit init flow, address security advisories & review findings #93
release-drafter.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors and 5 warnings
|
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:56365:18)
{
name: 'AggregateError',
event: {
id: '24550035599',
name: 'pull_request',
payload: {
action: 'opened',
number: 40,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/issues/40/comments'
},
commits: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/pulls/40/commits'
},
html: { href: 'https://github.com/bnbong/FastAPI-fastkit/pull/40' },
issue: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/issues/40'
},
review_comment: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/pulls/40/comments'
},
self: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/pulls/40'
},
statuses: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/statuses/b8567b459aac5e18389491cbadf56816c2c92ea8'
}
},
active_lock_reason: null,
additions: 1231,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/55042923?v=4',
events_url: 'https://api.github.com/users/bnbong/events{/privacy}',
followers_url: 'https://api.github.com/users/bnbong/followers',
following_url: 'https://api.github.com/users/bnbong/following{/other_user}',
gists_url: 'https://api.github.com/users/bnbong/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/bnbong',
id: 55042923,
login: 'bnbong',
node_id: 'MDQ6VXNlcjU1MDQyOTIz',
organizations_url: 'https://api.github.com/users/bnbong/orgs',
received_events_url: 'https://api.github.com/users/bnbong/received_events',
repos_url: 'https://api.github.com/users/bnbong/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/bnbong/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/bnbong/subscriptions',
type: 'User',
url: 'https://api.github.com/users/bnbong',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/55042923?v=4',
events_url: 'https://api.github.com/users/bnbong/events{/privacy}',
followers_url: 'https://api.github.com/users/bnbong/followers',
following_url: 'https://api.github.com/users/bnbong/following{/other_user}',
gists_url: 'https://api.github.com/users/bnbong/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/bnbong',
id: 55042923,
login: 'bnbong',
node_id: 'MDQ6VXNlcjU1MDQyOTIz',
organizations_url: 'https://api.github.com/users/bnbong/orgs',
received_events_url: 'https://api.github.com/users/bnbong/received_events',
repos_url: 'https://api.github.com/users/bnbong/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/bnbong/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/bnbong/subscriptions',
type: 'User',
url: 'https://api.github.com/users/bnbong',
user_view_type: 'public'
}
],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'bnbong:main',
ref: 'main',
rep
|
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '24550035599',
status: 422,
response: {
url: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/releases/265908333',
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: 'Fri, 17 Apr 2026 05:51:00 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': '0482:2FB903:11308F7:45AA610:69E1CA44',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4986',
'x-ratelimit-reset': '1776408654',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '14',
'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/bnbong/FastAPI-fastkit/releases/265908333',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.20.1 (linux; x64)',
'x-github-delivery': '24550035599',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"## Changes\\n\\n- Bump urllib3 from 2.6.0 to 2.6.3 @[dependabot[bot]](https://github.com/apps/dependabot) (#33)\\n- Bump filelock from 3.20.1 to 3.20.3 @[dependabot[bot]](https://github.com/apps/dependabot) (#34)\\n- Bump virtualenv from 20.29.2 to 20.36.1 @[dependabot[bot]](https://github.com/apps/dependabot) (#35)\\n\\n## 🐛 Bug Fixes\\n\\n- [DOCS, FIX] edit pre-commit hooks, update FastAPI-fastkit guides @bnbong (#39)\\n\\n## 🔄 New & Modified FastAPI Templates\\n\\n- [CICD, DOCS] add templates' dependency vulnerable checking workflow, add commands at Makefile @bnbong (#36)\\n- Bump filelock from 3.17.0 to 3.20.1 @[dependabot[bot]](https://github.com/apps/dependabot) (#32)\\n- Bump urllib3 from 2.5.0 to 2.6.0 @[dependabot[bot]](https://github.com/apps/dependabot) (#31)\\n\\n## 🧰 Maintenance & Documentation\\n\\n- [DOCS, FIX] edit pre-commit hooks, update FastAPI-fastkit guides @bnbong (#39)\\n- [CICD, DOCS] add templates' dependency vulnerable checking workflow, add commands at Makefile @bnbong (#36)\\n- Potential fix for code scanning alert no. 5: Workflow does not contain permissions @bnbong (#30)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.2.1 🌈","tag_name":"v1.2.1","target_commitish":"refs/pull/40/merge"}`,
request: {}
},
event: {
id: '24550035599',
name: 'pull_request',
payload: {
action: 'opened',
number: 40,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/issues/40/comments'
},
commits: {
href: 'https://api.github.com/repos/bnbong/FastAPI-fastkit/pulls/40/commits'
},
html: { href: 'https://github.c
|
|
update_release_draft
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: release-drafter/release-drafter@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
update_release_draft
"pull_request_target.edited" 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.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|