ci: enhance duplicate execution check logic in actions

This commit is contained in:
daydreamer-json
2026-02-24 22:54:05 +09:00
parent 9914057d0e
commit 7ac424d6e2

View File

@@ -67,7 +67,7 @@ async function checkIsActionRunning(
owner: authCfg.github.main.owner,
repo: authCfg.github.main.repo,
});
return data.data.workflow_runs.filter((e) => e.status !== 'completed').length > 1;
return data.data.workflow_runs.filter((e) => e.status === 'in_progress').length > 1;
}
export default {