Skip to content

Commit

Permalink
Make the output look a bit nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
dddlr committed Jul 15, 2024
1 parent f9e33a7 commit f4f7d8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/task-checklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ const run = () => {
return;
}

const plural = matches.length > 1 ? 's' : '';
console.log(`Found incomplete task${plural}:`);
for (const match of matches) {
console.log(`Found incomplete task: ${match}`);
console.log(`- ${match}`);
}

console.log('---');

core.setFailed(`
Found an item in the PR description not marked as completed.
Expand Down

0 comments on commit f4f7d8a

Please sign in to comment.