diff --git a/.github/workflows/goalie-on-pr-review-or-response.yaml b/.github/workflows/goalie-on-pr-review-or-response.yaml index be6c19e14c..25662d5f6f 100644 --- a/.github/workflows/goalie-on-pr-review-or-response.yaml +++ b/.github/workflows/goalie-on-pr-review-or-response.yaml @@ -76,3 +76,8 @@ jobs: console.log('all files', ${{ steps.get-all-changed-files.outputs.result}}) console.log('codeowners', ${{ steps.codeowners.outputs.codeowners}}) console.log('all teams', ${{ steps.get-all-group-members.outputs.result}}) + + // Go through each file changed and go through each codeowner entry and use minimatch to see if the file matches + // strip the backstage group from the name? + // If it does match push the owner to a list of reviewers + // check to see the reviews and if there is at least one matching reviewer from those group