経路検索機能では複数APIを使用することにした #1036
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: '10758198950',
status: 422,
response: {
url: 'https://api.github.com/repos/TrainLCD/MobileApp/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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sun, 08 Sep 2024 07:55:06 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': '380E:33AF0A:10CC8CB:1FBA4C5:66DD5859',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4991',
'x-ratelimit-reset': '1725785684',
'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',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/TrainLCD/MobileApp/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/3726/merge","name":"","tag_name":"","body":"## Changes\\n* 経路検索バグ修正 (#3722) @TinyKitten\\n* 経路検索の絞り込み条件修正 (#3719) @TinyKitten\\n* 通過駅は経路検索の種別一覧に表示しない (#3717) @TinyKitten\\n* 細かいバグの修正 (#3715) @TinyKitten\\n* 経路検索仮実装とバグ修正 (#3714) @TinyKitten\\n* 日本語音声のプレミアム音声無償化 (#3713) @TinyKitten\\n* master->dev (#3712) @TinyKitten\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '10758198950',
name: 'pull_request',
payload: {
action: 'opened',
number: 3726,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/79830190?v=4',
description: 'TrainLCD project by TinyKitten.',
events_url: 'https://api.github.com/orgs/TrainLCD/events',
hooks_url: 'https://api.github.com/orgs/TrainLCD/hooks',
id: 79830190,
issues_url: 'https://api.github.com/orgs/TrainLCD/issues',
login: 'TrainLCD',
members_url: 'https://api.github.com/orgs/TrainLCD/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjc5ODMwMTkw',
public_members_url: 'https://api.github.com/orgs/TrainLCD/public_members{/member}',
repos_url: 'https://api.github.com/orgs/TrainLCD/repos',
url: 'https://api.github.com/orgs/TrainLCD'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/issues/3726/comments'
},
commits: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/pulls/3726/commits'
},
html: { href: 'https://github.com/TrainLCD/MobileApp/pull/3726' },
issue: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/issues/3726
|
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: '10758198950',
name: 'pull_request',
payload: {
action: 'opened',
number: 3726,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/79830190?v=4',
description: 'TrainLCD project by TinyKitten.',
events_url: 'https://api.github.com/orgs/TrainLCD/events',
hooks_url: 'https://api.github.com/orgs/TrainLCD/hooks',
id: 79830190,
issues_url: 'https://api.github.com/orgs/TrainLCD/issues',
login: 'TrainLCD',
members_url: 'https://api.github.com/orgs/TrainLCD/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjc5ODMwMTkw',
public_members_url: 'https://api.github.com/orgs/TrainLCD/public_members{/member}',
repos_url: 'https://api.github.com/orgs/TrainLCD/repos',
url: 'https://api.github.com/orgs/TrainLCD'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/issues/3726/comments'
},
commits: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/pulls/3726/commits'
},
html: { href: 'https://github.com/TrainLCD/MobileApp/pull/3726' },
issue: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/issues/3726'
},
review_comment: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/pulls/3726/comments'
},
self: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/pulls/3726'
},
statuses: {
href: 'https://api.github.com/repos/TrainLCD/MobileApp/statuses/2d8397ae87dc28b3773cd5c55425784645bbe473'
}
},
active_lock_reason: null,
additions: 147,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/32848922?v=4',
events_url: 'https://api.github.com/users/TinyKitten/events{/privacy}',
followers_url: 'https://api.github.com/users/TinyKitten/followers',
following_url: 'https://api.github.com/users/TinyKitten/following{/other_user}',
gists_url: 'https://api.github.com/users/TinyKitten/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/TinyKitten',
id: 32848922,
login: 'TinyKitten',
node_id: 'MDQ6VXNlcjMyODQ4OTIy',
organizations_url: 'https://api.github.com/users/TinyKitten/orgs',
received_events_url: 'https://api.github.com/users/TinyKitten/received_events',
repos_url: 'https://api.github.com/users/TinyKitten/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/TinyKitten/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/TinyKitten/subscriptions',
type: 'User',
url: 'https://api.github.com/users/TinyKitten'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/32848922?v=4',
events_url: 'https://api.github.com/users/TinyKitten/events{/privacy}',
followers_url: 'https://api.github.com/users/TinyKitten/followers',
following_url: 'https://api.github.com/users/TinyKitten/following{/other_user}',
gists_url: 'https://api.github.com/users/TinyKitten/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/TinyKitten',
id: 32848922,
login: 'TinyKitten',
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|