Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Aug 27, 2024
1 parent d32ef5e commit 059e02c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ensureSCCoreDevApproval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ jobs:
// extract the git login handles of all reviewers that approved this PR
const reviewerHandles = approvedReviews.map(review => review.user.login);
if(!reviewerHandles)
console.log('This PR has been approved by the following git members: ${reviewerHandles}`);
if(approvedReviews.length === 0)
console.log(`This PR has been approved by the following git members: ${reviewerHandles}`);
else
console.log('${colors.red}This PR has no approvals${colors.reset}`);
console.log(`${colors.red}This PR has no approvals${colors.reset}`);
// check if at least one of these reviewers is member in smart-contract-core group
if (reviewerHandles.some((handle) => coreDevs.includes(handle))) {
Expand Down

0 comments on commit 059e02c

Please sign in to comment.