[WIP] refactor: ♻️ remove useless code and clean code #509
Annotations
2 errors and 1 warning
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6026462902',
status: 422,
response: {
url: 'https://api.github.com/repos/datalab-mi/Basegun/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: 'Wed, 30 Aug 2023 14:48:41 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': '7C49:503A:1DA50F1:1E5E4A2:64EF56C9',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '991',
'x-ratelimit-reset': '1693410518',
'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/datalab-mi/Basegun/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/174/merge","name":"PR refs/pull/174/merge","tag_name":"","body":"## Changes\\n\\n## 🐛 Bug Fixes\\n\\n- Adapt confidence levels to new classification model @leihuayi (#172)\\n- [WIP] fix : :bug: move to swiper element @NadeigeC (#171)\\n","draft":true,"prerelease":true}',
request: {}
},
event: {
id: '6026462902',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '76f86f0ccf37db9be42c22e5f92c88364d193005',
before: 'd406af52f60a7289162ce6fcba8c6be783894f11',
number: 174,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/70154310?v=4',
description: "Datalab du ministère de l'intérieur",
events_url: 'https://api.github.com/orgs/datalab-mi/events',
hooks_url: 'https://api.github.com/orgs/datalab-mi/hooks',
id: 70154310,
issues_url: 'https://api.github.com/orgs/datalab-mi/issues',
login: 'datalab-mi',
members_url: 'https://api.github.com/orgs/datalab-mi/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjcwMTU0MzEw',
public_members_url: 'https://api.github.com/orgs/datalab-mi/public_members{/member}',
repos_url: 'https://api.github.com/orgs/datalab-mi/repos',
url: 'https://api.github.com/orgs/datalab-mi'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/174/comments'
},
commits: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/174/commits'
},
html: { href: 'https://github.com/datalab-mi/Basegun/pull/174' },
issue: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/174'
},
re
|
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: '6026462902',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '76f86f0ccf37db9be42c22e5f92c88364d193005',
before: 'd406af52f60a7289162ce6fcba8c6be783894f11',
number: 174,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/70154310?v=4',
description: "Datalab du ministère de l'intérieur",
events_url: 'https://api.github.com/orgs/datalab-mi/events',
hooks_url: 'https://api.github.com/orgs/datalab-mi/hooks',
id: 70154310,
issues_url: 'https://api.github.com/orgs/datalab-mi/issues',
login: 'datalab-mi',
members_url: 'https://api.github.com/orgs/datalab-mi/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjcwMTU0MzEw',
public_members_url: 'https://api.github.com/orgs/datalab-mi/public_members{/member}',
repos_url: 'https://api.github.com/orgs/datalab-mi/repos',
url: 'https://api.github.com/orgs/datalab-mi'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/174/comments'
},
commits: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/174/commits'
},
html: { href: 'https://github.com/datalab-mi/Basegun/pull/174' },
issue: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/174'
},
review_comment: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/174/comments'
},
self: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/174'
},
statuses: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/statuses/76f86f0ccf37db9be42c22e5f92c88364d193005'
}
},
active_lock_reason: null,
additions: 213,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/9094581?v=4',
events_url: 'https://api.github.com/users/NadeigeC/events{/privacy}',
followers_url: 'https://api.github.com/users/NadeigeC/followers',
following_url: 'https://api.github.com/users/NadeigeC/following{/other_user}',
gists_url: 'https://api.github.com/users/NadeigeC/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/NadeigeC',
id: 9094581,
login: 'NadeigeC',
node_id: 'MDQ6VXNlcjkwOTQ1ODE=',
organizations_url: 'https://api.github.com/users/NadeigeC/orgs',
received_events_url: 'https://api.github.com/users/NadeigeC/received_events',
repos_url: 'https://api.github.com/users/NadeigeC/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/NadeigeC/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/NadeigeC/subscriptions',
type: 'User',
url: 'https://api.github.com/users/NadeigeC'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/9094581?v=4',
events_url: 'https://api.github.com/users/NadeigeC/events{/privacy}',
followers_url: 'https://api.github.com/users/NadeigeC/followers',
following_url: 'https://api.github.com/users/NadeigeC/following{/other_user}',
gists_url: 'https://api.github.com/users/NadeigeC/gists{/gist_id}',
gravatar_id: '',
html_url: 'h
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading