Skip to content

Commit e0693ba

Browse files
committed
fixup! check-run: persist parameters in an Action state
1 parent 20318c0 commit e0693ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ci-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export class CIHelper {
377377
conclusion?: ConclusionType;
378378
job_status?: ConclusionType;
379379
};
380-
const params = JSON.parse(core.getState("check-run") || "{}") as CheckRunParameters;
380+
const params = (core.getState("check-run") || {}) as CheckRunParameters;
381381

382382
const validateCheckRunParameters = () => {
383383
const result = typia.createValidate<CheckRunParameters>()(params);

0 commit comments

Comments
 (0)