diff --git a/.github/actions/task-checklist/index.js b/.github/actions/task-checklist/index.js index 1d5f61a78..cecf3b109 100644 --- a/.github/actions/task-checklist/index.js +++ b/.github/actions/task-checklist/index.js @@ -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.