mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-26 17:22:22 +01:00
ci: enhance duplicate execution check logic in actions
This commit is contained in:
@@ -67,7 +67,7 @@ async function checkIsActionRunning(
|
|||||||
owner: authCfg.github.main.owner,
|
owner: authCfg.github.main.owner,
|
||||||
repo: authCfg.github.main.repo,
|
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 {
|
export default {
|
||||||
|
|||||||
Reference in New Issue
Block a user