Skip to content

Commit

Permalink
Add error log
Browse files Browse the repository at this point in the history
  • Loading branch information
hampus-andersson-op committed May 10, 2024
1 parent 675833a commit ea24c79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export class BranchProtectionService {
} else {
switch (errorMessage) {
case 'Upgrade to GitHub Pro or make this repository public to enable this feature.':
console.log('Branch protection is not enabled for repository:', repo);
core.exportVariable('numberOfReviewers', 0);
break;

Expand Down

0 comments on commit ea24c79

Please sign in to comment.