From 954463ba94de52dfd326fcdd5ae5817d4196900c Mon Sep 17 00:00:00 2001 From: Devin Ford Date: Wed, 7 Aug 2024 17:16:13 -0400 Subject: [PATCH] chore: debug --- .github/workflows/codeowner_review_status.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codeowner_review_status.yml b/.github/workflows/codeowner_review_status.yml index fced439c785d1..425363d89c606 100644 --- a/.github/workflows/codeowner_review_status.yml +++ b/.github/workflows/codeowner_review_status.yml @@ -55,7 +55,6 @@ jobs: const teamSlugs = [...new Set(codeownersRules.flatMap(rule => rule.owners))] .map(owner => owner.replace(/^.*\//, '')); - console.log('Team slugs:', teamSlugs); // Get reviews const { data: reviews } = await github.rest.pulls.listReviews({ owner, repo, pull_number: number }); @@ -65,7 +64,7 @@ jobs: .filter(review => review.state === 'APPROVED') .map(review => review.user.login) ); - + console.log('approvals: ', approvals) // Function to check if a file matches a pattern const matchesPattern = (file, pattern) => { // Handle directory patterns