Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Commit 811bbe5

Browse files
committed
chore: fix action atatus check
1 parent ad6ea54 commit 811bbe5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/condition/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ runs:
4343
core.info(JSON.stringify(result));
4444
core.endGroup();
4545
const currentConclusion = result.data.workflow_runs[0]?.conclusion;
46-
const success = (currentConclusion ? (currentConclusion === 'success') : true) ||
46+
const success = (currentConclusion ? (currentConclusion === 'success') : true) &&
4747
(result.data.workflow_runs[1]?.conclusion === 'success');
48+
throw `test error`;
4849
return success;

0 commit comments

Comments
 (0)