fix linting errors #2571
cicd-1-pull-request.yaml
on: push
Set CI/CD metadata
5s
Commit stage
/
Scan secrets
8s
Commit stage
/
Check file format
7s
Commit stage
/
Check Markdown format
6s
Commit stage
/
Check English usage
10s
Commit stage
/
Check TODO usage
4s
Commit stage
/
Trivy Package Scan
14s
Commit stage
/
Count lines of code
6s
Commit stage
/
Scan dependencies
40s
Commit stage
/
Check for changes to event schema package compared to main branch
5s
Commit stage
/
Check event schema version has been updated
0s
Commit stage
/
Check for event schemas package version change
0s
Commit stage
/
Run terraform-docs
0s
Commit stage
/
Lint Terraform
0s
Commit stage
/
Trivy IaC Scan
0s
Test stage
/
Check generated dependencies
51s
Test stage
/
Pact tests
1m 1s
Test stage
/
Linting
2m 20s
Test stage
/
Typecheck
1m 48s
Test stage
/
Test coverage
4s
Test stage
/
Perform static analysis
58s
Matrix: Build stage / artefact-oas-spec
Publish stage
/
Publish npm packages to npm.pkg.github.com
Publish stage
/
Publish nuget packages to nuget.pkg.github.com
Matrix: Publish stage / publish-oas-specs
Waiting for pending jobs
Publish stage
/
Success notification
Annotations
12 warnings
|
Test stage / Linting:
lambdas/api-handler/src/utils/common-ids.ts#L5
Prefer default export on a file with single export
|
|
Test stage / Linting:
lambdas/api-handler/src/utils/__tests__/validation.test.ts#L74
Test has no assertions
|
|
Test stage / Linting:
lambdas/api-handler/src/handlers/post-mi.ts#L2
Caution: `mi-operations.ts` has a default export `postMI`. This imports `postMI` as `postMIOperation`. Check if you meant to write `import postMI from '../services/mi-operations'` instead
|
|
Test stage / Linting:
lambdas/api-handler/src/handlers/__tests__/utils/test-utils.ts#L3
Prefer default export on a file with single export
|
|
Test stage / Linting:
lambdas/api-handler/src/handlers/__tests__/post-mi.test.ts#L7
Caution: `mi-operations.ts` has a default export `postMI`. This imports `postMI` as `postMiOperation`. Check if you meant to write `import postMI from '../../services/mi-operations'` instead
|
|
Test stage / Linting:
internal/helpers/src/id-ref.ts#L54
Variable Assigned to Object Injection Sink
|
|
Test stage / Linting:
internal/events/src/events/event-envelope.ts#L94
Found non-literal argument to RegExp Constructor
|
|
Test stage / Linting:
internal/events/src/events/event-envelope.ts#L84
Unsafe Regular Expression
|
|
Test stage / Linting:
internal/datastore/src/letter-repository.ts#L76
Variable Assigned to Object Injection Sink
|
|
Test stage / Linting:
internal/datastore/src/__test__/letter-repository.test.ts#L497
Test has no assertions
|
|
Build stage / Build Docs
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>07nhpaQAAAABPtQ0LmMV+RYNLt/K2LG/SQ0hHRURHRTE4MTUARWRnZQ==
|
|
Build stage / Build Docs
Failed to restore: Cache service responded with 400
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
api-oas-specification-internal-dev-sandbox-1.1.0-20260115.232646+a6ad5c2
Expired
|
11.8 KB |
sha256:8f18d17b9e80ce3c4fa147c5fe268ffd93fe7484536403556f1eaf09291d80c3
|
|
|
code-coverage-report
Expired
|
2.95 KB |
sha256:0ac5bc4b4ab51e2ba7b1873e3ad6c32be16dda68c3c9d52d2c4052e8da66827e
|
|
|
internal-dev-sandbox-build-output
Expired
|
11.8 KB |
sha256:1c4f20fc6e8c49baa3f8291689a632a5702a17c1d033c18ea44c22d1f3da1310
|
|
|
jekyll-docs-1.1.0-20260115.232646+a6ad5c2
Expired
|
1.4 MB |
sha256:04a061b3adb1c02ad80d246e5ab4f1a9233d8ace1098ce58d508acd4248d9f81
|
|
|
lines-of-code-report.json.zip
Expired
|
1007 Bytes |
sha256:554f2d06cbf6c1e664767602ce23b58d0d8e20e31520f614c7eadf43f0431db3
|
|
|
sbom-repository-report.json.zip
Expired
|
129 KB |
sha256:b9421ca750e07fd01a9ad023977baa470146aa3a65532c38eb596191d4165adf
|
|
|
unit-tests
Expired
|
594 KB |
sha256:012a3b611cb446904ba78c1dc22a232688e9ba49d4308810e26e346b40e55d4c
|
|
|
vulnerabilities-repository-report.json.zip
Expired
|
3.24 KB |
sha256:7bb11dd29ddf402cced597ecc9670d4a6ec2a02a355f38c9035cf22262668ec5
|
|