File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -62,16 +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
6665 let del_runs = new Array ( ) ;
6766 for ( const run of all_runs ) {
68- if ( ! workflow_ids . includes ( run . workflow_id ) ) {
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.
6969 del_runs . push ( run ) ;
7070 core . debug ( ` Added to del list '${ run . name } ' workflow run ${ run . id } ` ) ;
71- }
72- else {
73- core . debug ( ` Skipped '${ run . name } ' workflow run ${ run . id } ` ) ;
74- }
71+ // }
7572 }
7673
7774 console . log ( `💬 found total of ${ del_runs . length } workflow run(s)` ) ;
You can’t perform that action at this time.
0 commit comments