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 b9ad930 commit 72d8de4Copy full SHA for 72d8de4
.github/workflows/issue-labels.yml
@@ -61,7 +61,7 @@ jobs:
61
.then((result) => result.data.assignees.map((a) => a.login));
62
console.log(JSON.stringify(currentAssignees));
63
console.log(JSON.stringify(knownTriagers));
64
- const assigneesToRemove = currentAssignees.map(a => !knownTriagers.includes(a));
+ const assigneesToRemove = currentAssignees.filter(a => !knownTriagers.includes(a));
65
console.log(JSON.stringify(assigneesToRemove));
66
github.rest.issues.removeAssignees({
67
owner: context.repo.owner,
0 commit comments