Skip to content

fix(types): ajout du fait que les outils peuvent être de type EXTERNALS #5967

fix(types): ajout du fait que les outils peuvent être de type EXTERNALS

fix(types): ajout du fait que les outils peuvent être de type EXTERNALS #5967

Triggered via pull request October 16, 2024 09:16
Status Success
Total duration 9m 51s
Artifacts

quality.yml

on: pull_request
Matrix: Lint
Matrix: Test
Matrix: Type-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 68 warnings
Lint Dockerfile: targets/alert-cli/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L34
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L37
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L35
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/frontend/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/frontend/Dockerfile#L39
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/hasura/Dockerfile#L1
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile
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/
Lint Dockerfile
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Type-check (@socialgouv/cdtn-types)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type-check (@socialgouv/cdtn-types)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Type-check (@shared/utils)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type-check (@shared/utils)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (frontend)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (ingester)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (ingester): targets/ingester/src/articles/kali/__tests__/indexed-article.test.ts#L25
Async arrow function has no 'await' expression
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unexpected any. Specify a different type
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L5
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L32
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L32
Unexpected any. Specify a different type
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L36
Unsafe return of an `any` typed value
Lint (ingester): targets/ingester/src/cli.ts#L144
Unsafe argument of type `any` assigned to a parameter of type `string`
Lint (ingester): targets/ingester/src/index.d.ts#L7
'LegalRef' is defined but never used
Lint (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (alert-cli)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (alert-cli): targets/alert-cli/src/dares/fetchDaresXlsx.ts#L10
Unexpected any. Specify a different type
Lint (alert-cli): targets/alert-cli/src/dares/getAgreementsData.ts#L32
Prefer using an optional chain expression instead, as it's more concise and easier to read
Lint (alert-cli): targets/alert-cli/src/dares/getAgreementsData.ts#L32
Unnecessary conditional, value is always falsy
Lint (alert-cli): targets/alert-cli/src/dares/getAgreementsData.ts#L34
Unnecessary conditional, value is always falsy
Lint (alert-cli): targets/alert-cli/src/dares/getAgreementsData.ts#L34
Unnecessary optional chain on a non-nullish value
Lint (alert-cli): targets/alert-cli/src/dares/getAgreementsData.ts#L35
Unnecessary optional chain on a non-nullish value
Lint (alert-cli): targets/alert-cli/src/dares/getDaresData.ts#L7
Unexpected any. Specify a different type
Lint (alert-cli): targets/alert-cli/src/dares/getDaresData.ts#L11
Unsafe argument of type `any` assigned to a parameter of type `string`
Lint (alert-cli): targets/alert-cli/src/dares/scrapping.ts#L10
Unsafe argument of type `any` assigned to a parameter of type `string`
Type-check (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type-check (alert-cli)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Type-check (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type-check (ingester)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (@socialgouv/cdtn-elasticsearch)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (export-elasticsearch)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint (export-elasticsearch): targets/export-elasticsearch/src/controllers/export.ts#L34
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/__tests__/cdtnDocuments.test.ts#L22
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/__tests__/cdtnDocuments.test.ts#L42
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/__tests__/cdtnDocuments.test.ts#L54
Unsafe argument of type `any[]` assigned to a parameter of type `ContributionElasticDocument[]`
Test (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@socialgouv/cdtn-elasticsearch)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Type-check (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type-check (export-elasticsearch)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Type-check (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type-check (frontend)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (export-elasticsearch)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (@shared/utils)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (@shared/utils)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ingester)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (frontend)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (alert-cli)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/