Skip to content

Commit

Permalink
fix: case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsojramos committed Dec 19, 2023
1 parent 361283c commit 248dd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
const assignees = [];
for (const [keyword, assignee] of Object.entries(keywordsToAssigneesMap)) {
if (title.includes(keyword) || body.includes(keyword)) {
if (title.toUpperCase().includes(keyword.toUpperCase()) || body.toUpperCase().includes(keyword.toUpperCase())) {
if (Array.isArray(assignee)) {
assignees.push(...assignee);
} else {
Expand Down

0 comments on commit 248dd6e

Please sign in to comment.