Skip to content

Fix linting errors #2598

Fix linting errors

Fix linting errors #2598

Triggered via push April 23, 2026 16:15
Status Failure
Total duration 31m 19s
Artifacts 7
Set CI/CD metadata
6s
Set CI/CD metadata
Commit stage  /  Scan secrets
15s
Commit stage / Scan secrets
Commit stage  /  Check file format
25s
Commit stage / Check file format
Commit stage  /  Check Markdown format
7s
Commit stage / Check Markdown format
Commit stage  /  Check English usage
46s
Commit stage / Check English usage
Commit stage  /  Check TODO usage
7s
Commit stage / Check TODO usage
Commit stage  /  Count lines of code
7s
Commit stage / Count lines of code
Commit stage  /  Scan dependencies
52s
Commit stage / Scan dependencies
Commit stage  /  Detect Terraform Changes
5s
Commit stage / Detect Terraform Changes
Commit stage  /  Run terraform-docs
15s
Commit stage / Run terraform-docs
Commit stage  /  Lint Terraform
25s
Commit stage / Lint Terraform
Test stage  /  Contract tests
54s
Test stage / Contract tests
Test stage  /  Linting
2m 33s
Test stage / Linting
Test stage  /  Typecheck
2m 0s
Test stage / Typecheck
Test stage  /  Detect Schema Changes
9s
Test stage / Detect Schema Changes
Test stage  /  Unit tests
3m 40s
Test stage / Unit tests
Test stage  /  Check generated dependencies
0s
Test stage / Check generated dependencies
Test stage  /  Perform static analysis
1m 29s
Test stage / Perform static analysis
Build stage  /  Detect Documentation Changes
19s
Build stage / Detect Documentation Changes
Build stage  /  Build Docs
Build stage / Build Docs
Trigger dynamic environment creation
10m 44s
Trigger dynamic environment creation
Publish stage  /  Publish packages
Publish stage / Publish packages
Acceptance stage  /  Security test
5s
Acceptance stage / Security test
Acceptance stage  /  UI test
6s
Acceptance stage / UI test
Acceptance stage  /  UI performance test
28s
Acceptance stage / UI performance test
Acceptance stage  /  Integration test
13m 47s
Acceptance stage / Integration test
Acceptance stage  /  Accessibility test
6s
Acceptance stage / Accessibility test
Acceptance stage  /  Load test
43s
Acceptance stage / Load test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 warnings
Commit stage / Check file format
expected 'packfile'
Commit stage / Check file format
RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
Commit stage / Check English usage
unable to access 'https://github.com/NHSDigital/nhs-notify-digital-letters/': The requested URL returned error: 500
Commit stage / Check English usage
expected 'packfile'
Commit stage / Check English usage
RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
Acceptance stage / UI performance test
unable to access 'https://github.com/NHSDigital/nhs-notify-digital-letters/': The requested URL returned error: 500
Acceptance stage / Load test
expected 'packfile'
Acceptance stage / Load test
RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
Acceptance stage / Load test
unable to access 'https://github.com/NHSDigital/nhs-notify-digital-letters/': The requested URL returned error: 500
Acceptance stage / Integration test
Process completed with exit code 1.
Test stage / Detect Schema Changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test stage / Contract tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test stage / Linting: lambdas/print-analyser/src/__tests__/test-data.ts#L61
Found readFileSync from package "node:fs" with non literal argument at index 0
Test stage / Linting: src/typescript-schema-generator/src/generate-types.ts#L34
Found writeFileSync from package "node:fs" with non literal argument at index 0
Test stage / Linting: src/typescript-schema-generator/src/generate-guard-functions.ts#L51
Found writeFileSync from package "node:fs" with non literal argument at index 0
Test stage / Linting: utils/utils/src/event-publisher/event-publisher.ts#L101
Function Call Object Injection Sink
Test stage / Linting: utils/utils/src/dynamodb/delete-dynamo-batch.ts#L47
Generic Object Injection Sink
Test stage / Linting: utils/utils/src/dynamodb/delete-dynamo-batch.ts#L34
Generic Object Injection Sink
Test stage / Linting: utils/utils/src/config-reader.ts#L69
Variable Assigned to Object Injection Sink
Test stage / Linting: utils/utils/src/cache/cache.ts#L52
Generic Object Injection Sink
Test stage / Linting: utils/utils/src/cache/cache.ts#L33
Variable Assigned to Object Injection Sink
Test stage / Unit tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test stage / Perform static analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build stage / Detect Documentation Changes
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
code-coverage-report
16.7 KB
sha256:4cff5357777eeed4c1b36889a054fd81175405825cc35bd5156a3037df97b1ab
lines-of-code-report.json.zip
981 Bytes
sha256:d49ed87cff73e960c759ed3e2dc86abb1d18c42730aa9e9e5c9b594a6ff1b098
pact-contracts
609 Bytes
sha256:d470da86e3fc358383e5dfed76380d1189aed4dce72762eafa0f3324a09bb1ce
python-coverage-reports
13.4 KB
sha256:913dc8bee4f9662250cfcb972e3908dba336ec492816e1fd350b8c929659a528
sbom-repository-report.json.zip
392 KB
sha256:10df8eae43c6b68d956e8223b67042b0656269b0a3d8d86c2330be45b76c0495
unit-tests
1.87 MB
sha256:7869ab518e0e46bae8c201f39fc08d51073e430b049d5eee6a09a8584dedfb75
vulnerabilities-repository-report.json.zip
14.2 KB
sha256:4c8e73e388f41acb16fb5bf54ab882b418094b51b2d50bdea9d04eabda9236eb