mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-22 07:12:28 +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,
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user