Skip to content

Commit feeb820

Browse files
authored
Undo previous changes.
1 parent c61e04e commit feeb820

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ async function run() {
6262
repo: repo_name,
6363
});
6464

65+
// Creates the delete runs array, and adds the runs that don't have a workflow associated with it
6566
let del_runs = new Array();
6667
for (const run of all_runs) {
67-
// 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.
68+
if (!workflow_ids.includes(run.workflow_id)) {
6969
del_runs.push(run);
7070
core.debug(` Added to del list '${run.name}' workflow run ${run.id}`);
71-
// }
71+
}
7272
}
7373

7474
console.log(`💬 found total of ${del_runs.length} workflow run(s)`);

0 commit comments

Comments
 (0)