Skip to content

Commit 0a28a6b

Browse files
authored
Display debug messages
1 parent cb57238 commit 0a28a6b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dist/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ async function run() {
5252
repo: repo_name,
5353
});
5454

55-
if (dry_run) {
56-
console.log('[dry-run] Workflows', workflows);
57-
}
58-
5955
let workflow_ids = workflows.map(w => w.id);
6056

6157
// Gets all workflow runs for the repository
@@ -73,6 +69,9 @@ async function run() {
7369
del_runs.push(run);
7470
core.debug(` Added to del list '${run.name}' workflow run ${run.id}`);
7571
}
72+
else {
73+
core.debug(` Skipped '${run.name}' workflow run ${run.id}`);
74+
}
7675
}
7776

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

0 commit comments

Comments
 (0)