Skip to content

Commit

Permalink
Fix issue auto-assignment script (grafana#3049)
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- authored May 2, 2023
1 parent 4c148a7 commit 698e894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue-auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
const assigneeCount = 1;
// Do not automatically assign users if someone was already assigned or it was opened by a maintainer
if (context.payload.issue.assignees.length > 0 || assignees.contains(context.payload.issue.user.login)) {
if (context.payload.issue.assignees.length > 0 || assignees.includes(context.payload.issue.user.login)) {
return;
}
Expand Down

0 comments on commit 698e894

Please sign in to comment.