Skip to content

fix: handle orphaned & existing branches in graph #68

fix: handle orphaned & existing branches in graph

fix: handle orphaned & existing branches in graph #68

Triggered via pull request November 27, 2024 08:06
Status Failure
Total duration 35s
Artifacts

ci.yml

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

Annotations

11 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#L2
'github' is defined but never used. Allowed unused vars must match /^_/u
Lint - ESLint: src/main.ts#L9
'octokit' is defined but never used. Allowed unused args must match /^_/u
Lint - ESLint: src/main.ts#L13
'remoteBranches' is defined but never used. Allowed unused args must match /^_/u
Lint - ESLint: src/main.ts#L148
Unexpected console statement
Lint - ESLint: src/main.ts#L148
Unsafe member access .nodes on an `any` value
Lint - ESLint: src/main.ts#L179
'description' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint - ESLint
Process completed with exit code 1.