We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61e04e commit feeb820Copy full SHA for feeb820
dist/index.js
@@ -62,13 +62,13 @@ async function run() {
62
repo: repo_name,
63
});
64
65
+ // Creates the delete runs array, and adds the runs that don't have a workflow associated with it
66
let del_runs = new Array();
67
for (const run of all_runs) {
- // Creates the delete runs array, and adds the runs that don't have a workflow associated with it
68
- // if (!workflow_ids.includes(run.workflow_id)) { -> Deleted this condition. It doesn't make sense.
+ if (!workflow_ids.includes(run.workflow_id)) {
69
del_runs.push(run);
70
core.debug(` Added to del list '${run.name}' workflow run ${run.id}`);
71
- // }
+ }
72
}
73
74
console.log(`💬 found total of ${del_runs.length} workflow run(s)`);
0 commit comments