Skip to content

fix: handle orphaned & existing branches in graph #79

fix: handle orphaned & existing branches in graph

fix: handle orphaned & existing branches in graph #79

Triggered via pull request November 27, 2024 12:38
Status Failure
Total duration 29s
Artifacts

ci.yml

on: pull_request
Lint - ESLint
17s
Lint - ESLint
Lint - EditorConfig
14s
Lint - EditorConfig
Tests
19s
Tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Tests
Unable to determine current pull request from action payload
Tests
Unable to determine current pull request from action payload
src/inputs.test.ts > getCurrentPullRequest > should return current pull request from action payload: src/inputs.ts#L106
ZodError: [ { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "state" ], "message": "Required" } ] ❯ Object.get error [as error] node_modules/zod/lib/index.mjs:538:31 ❯ ZodObject.parse node_modules/zod/lib/index.mjs:638:22 ❯ Object.getCurrentPullRequest src/inputs.ts:106:45 ❯ src/inputs.test.ts:143:39 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'state' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'state' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { state: [ 'Required' ] } } }
Tests
Process completed with exit code 1.
Lint - ESLint: src/main.ts#L109
Unexpected console statement
Lint - ESLint
Process completed with exit code 1.