Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue auto-assignment script #3049

Merged
merged 1 commit into from May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/issue-auto-assign.yml
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