From c5614d98bc20d64a66cc309aad9e760046be1614 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 18 Jan 2022 07:51:31 +0100 Subject: [PATCH] chore: added comment for next steps Signed-off-by: blam --- .github/workflows/goalie-on-pr-review-or-response.yaml | 5 +++++ 1 file changed, 5 insertions(+) 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