We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e8369c commit 09bb061Copy full SHA for 09bb061
.github/actions/task-checklist/index.js
@@ -12,7 +12,8 @@ const run = () => {
12
const body = github.context.payload.pull_request?.body;
13
if (!body) return;
14
15
- const matches = body.matchAll(INCOMPLETE_TASKS_REGEX).map((match) => match[1]);
+ const matches = [];
16
+ body.matchAll(INCOMPLETE_TASKS_REGEX).forEach((match) => matches.push(match[1]));
17
18
if (!matches.length) {
19
return;
0 commit comments