Skip to content

[WIP] refactor: ♻️ remove useless code and clean code #519

[WIP] refactor: ♻️ remove useless code and clean code

[WIP] refactor: ♻️ remove useless code and clean code #519

Triggered via pull request September 1, 2023 13:34
Status Failure
Total duration 5m 44s
Artifacts

pr.yml

on: pull_request
build-and-test  /  test-app-k8s
5m 18s
build-and-test / test-app-k8s
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
tag-pr
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '6050114190', 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: 'Fri, 01 Sep 2023 13:34:35 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': '68F9:0933:3A86AB:77B194:64F1E86B', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '982', 'x-ratelimit-reset': '1693578140', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '18', '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: '6050114190', name: 'pull_request', payload: { action: 'synchronize', after: 'df07bd56842ac7740ffc75a05b4865d19b80dfdb', before: 'dccbc51702df3575dddbdf143528f2078f0d42fc', 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' }, rev
tag-pr
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: '6050114190', name: 'pull_request', payload: { action: 'synchronize', after: 'df07bd56842ac7740ffc75a05b4865d19b80dfdb', before: 'dccbc51702df3575dddbdf143528f2078f0d42fc', 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/df07bd56842ac7740ffc75a05b4865d19b80dfdb' } }, active_lock_reason: null, additions: 1376, 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: '
build-and-test / test-app-k8s
Process completed with exit code 1.
build-and-test / test-app-k8s
Process completed with exit code 1.
tag-pr
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/
build-and-test / test-app-k8s
No files were found with the provided path: ./frontend/cypress/screenshots/. No artifacts will be uploaded.