diff --git a/.github/workflows/goalie-on-pr-review-or-response.yaml b/.github/workflows/goalie-on-pr-review-or-response.yaml index 6de72e5e5a..664793ee59 100644 --- a/.github/workflows/goalie-on-pr-review-or-response.yaml +++ b/.github/workflows/goalie-on-pr-review-or-response.yaml @@ -103,7 +103,7 @@ jobs: for (const file of changedFiles) { for (const [pattern, owners] of Object.entries(codeowners)) { - if (minimatch(file.filename, codeowner.pattern)) { + if (minimatch(file.filename, pattern)) { for (const owner of owners) { reviewers.add(owner); }