fix: shuttle actions currently reports issues double, we don't want that #465
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8660420242',
status: 422,
response: {
url: 'https://api.github.com/repos/lunarway/shuttle/releases/139852679',
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: 'Fri, 12 Apr 2024 10:07:47 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': '74C9:3FA16D:5852C6:9263A8:661907F3',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14992',
'x-ratelimit-reset': '1712920065',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/lunarway/shuttle/releases/139852679',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n* fix: git chosen requires tag for checkout (#231) @kjuulh\\n\\n## Dependency Updates\\n\\n<details>\\n<summary>5 changes</summary>\\n\\n* chore(deps): update golang docker tag to v1.22.2 (#233) @lunar-renovate\\n* chore(deps): update golang docker tag to v1.22.1 (#232) @lunar-renovate\\n* chore(deps): update golang docker tag to v1.22.1 (#230) @lunar-renovate\\n* chore(deps): update golang docker tag to v1.22.0 (#228) @lunar-renovate\\n* chore(deps): update release-drafter/release-drafter action to v6 (#227) @lunar-renovate\\n</details>\\n\\n**Full Changelog**: https://github.com/lunarway/shuttle/compare/v0.23.0...v0.23.1\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.23.1","tag_name":"v0.23.1","target_commitish":"refs/pull/234/merge"}',
request: { retryCount: 1 }
},
event: {
id: '8660420242',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ea783919a59e130fe4050cc46bb7871044ecf00f',
before: '8a285190fd2dc819ea2f1ae792530289f1fc0a20',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4',
created_at: '2023-08-15T07:41:55Z',
description: 'Make the most of your money',
html_url: 'https://github.com/enterprises/lunar',
id: 66042,
name: 'Lunar',
node_id: 'E_kgDOAAEB-g',
slug: 'lunar',
updated_at: '2023-08-25T15:51:52Z',
website_url: 'https://lunar.app'
},
number: 234,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4',
description: 'Make the most of your money',
events_url: 'https://api.github.com/orgs/lunarway/events',
hooks_url: 'https://api.github.com/orgs/lunarway/hooks',
|
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:8462: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:30793:18)
{
name: 'AggregateError',
event: {
id: '8660420242',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ea783919a59e130fe4050cc46bb7871044ecf00f',
before: '8a285190fd2dc819ea2f1ae792530289f1fc0a20',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4',
created_at: '2023-08-15T07:41:55Z',
description: 'Make the most of your money',
html_url: 'https://github.com/enterprises/lunar',
id: 66042,
name: 'Lunar',
node_id: 'E_kgDOAAEB-g',
slug: 'lunar',
updated_at: '2023-08-25T15:51:52Z',
website_url: 'https://lunar.app'
},
number: 234,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4',
description: 'Make the most of your money',
events_url: 'https://api.github.com/orgs/lunarway/events',
hooks_url: 'https://api.github.com/orgs/lunarway/hooks',
id: 29371397,
issues_url: 'https://api.github.com/orgs/lunarway/issues',
login: 'lunarway',
members_url: 'https://api.github.com/orgs/lunarway/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjI5MzcxMzk3',
public_members_url: 'https://api.github.com/orgs/lunarway/public_members{/member}',
repos_url: 'https://api.github.com/orgs/lunarway/repos',
url: 'https://api.github.com/orgs/lunarway'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/lunarway/shuttle/issues/234/comments'
},
commits: {
href: 'https://api.github.com/repos/lunarway/shuttle/pulls/234/commits'
},
html: { href: 'https://github.com/lunarway/shuttle/pull/234' },
issue: {
href: 'https://api.github.com/repos/lunarway/shuttle/issues/234'
},
review_comment: {
href: 'https://api.github.com/repos/lunarway/shuttle/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/lunarway/shuttle/pulls/234/comments'
},
self: {
href: 'https://api.github.com/repos/lunarway/shuttle/pulls/234'
},
statuses: {
href: 'https://api.github.com/repos/lunarway/shuttle/statuses/ea783919a59e130fe4050cc46bb7871044ecf00f'
}
},
active_lock_reason: null,
additions: 31,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: null,
commit_title: null,
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/26280046?v=4',
events_url: 'https://api.github.com/users/kjuulh/events{/privacy}',
followers_url: 'https://api.github.com/users/kjuulh/followers',
following_url: 'https://api.github.com/users/kjuulh/following{/other_user}',
gists_url: 'https://api.github.com/users/kjuulh/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/kjuulh',
id: 26280046,
login: 'kjuulh',
node_id: 'MDQ6VXNlcjI2MjgwMDQ2',
organizations_url: 'https://api.github.com/users/kjuulh/orgs',
received_events_url: 'https://api.github.com/users/kjuulh/received_events',
repos_url: 'https://api.github.com/users/kjuulh/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/kjuulh/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/kjuulh/subscr
|