Skip to content

feat: Use typed queries #4428

feat: Use typed queries

feat: Use typed queries #4428

Triggered via pull request October 30, 2024 14:06
Status Failure
Total duration 2m 12s
Artifacts

www.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 warnings
Lint: www/src/components/account/User.tsx#L1
'useMutation' is defined but never used. Allowed unused vars must match /^_/u
Lint: www/src/components/account/User.tsx#L30
'IMPERSONATE_SERVICE_ACCOUNT' is defined but never used. Allowed unused vars must match /^_/u
Lint: www/src/components/account/User.tsx#L31
There should be at least one empty line between import groups
Lint: www/src/components/account/User.tsx#L32
`../../hooks/useImpersonatedServiceAccount` import should occur before import of `./CreateServiceAccount`
Lint: www/src/components/account/User.tsx#L32
'useImpersonatedServiceAccount' is defined but never used. Allowed unused vars must match /^_/u
Lint: www/src/hooks/useImpersonatedServiceAccount.tsx#L2
'useMutation' is defined but never used. Allowed unused vars must match /^_/u
Lint: www/src/hooks/useImpersonatedServiceAccount.tsx#L6
'IMPERSONATE_SERVICE_ACCOUNT' is defined but never used. Allowed unused vars must match /^_/u
Lint
Process completed with exit code 1.
Build image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c yarn run build" did not complete successfully: exit code: 2
Trivy fs scan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Trivy fs scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Trivy fs scan
Unexpected input(s) 'security-checks', valid inputs are ['scan-type', 'image-ref', 'input', 'scan-ref', 'exit-code', 'ignore-unfixed', 'vuln-type', 'severity', 'format', 'template', 'output', 'skip-dirs', 'skip-files', 'cache-dir', 'timeout', 'ignore-policy', 'hide-progress', 'list-all-pkgs', 'scanners', 'trivyignores', 'github-pat', 'trivy-config', 'tf-vars', 'limit-severities-for-sarif', 'docker-host', 'version', 'cache', 'skip-setup-trivy', 'token-setup-trivy']
Trivy fs scan
Unexpected input(s) 'security-checks', valid inputs are ['scan-type', 'image-ref', 'input', 'scan-ref', 'exit-code', 'ignore-unfixed', 'vuln-type', 'severity', 'format', 'template', 'output', 'skip-dirs', 'skip-files', 'cache-dir', 'timeout', 'ignore-policy', 'hide-progress', 'list-all-pkgs', 'scanners', 'trivyignores', 'github-pat', 'trivy-config', 'tf-vars', 'limit-severities-for-sarif', 'docker-host', 'version', 'cache', 'skip-setup-trivy', 'token-setup-trivy']
Unit test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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/
Unit test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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: www/src/components/overview/clusters/plural-cloud/EditPluralOIDCClient.tsx#L174
React Hook useCallback has a missing dependency: 'createMode'. Either include it or remove the dependency array
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build image
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/metadata-action@v4, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/login-action@v2, docker/build-push-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/