Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
devindford committed Aug 7, 2024
1 parent bf5e328 commit 954463b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/codeowner_review_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand All @@ -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
Expand Down

0 comments on commit 954463b

Please sign in to comment.