Skip to content

Commit

Permalink
refactor project
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbokvad committed Oct 2, 2023
1 parent 65a9bca commit 7399e66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export class BranchProtectionService {
'Branch protection is enabled, number of reviewers are:',
response.data.required_pull_request_reviews?.['required_approving_review_count']
);
core.exportVariable(
'numberOfReviewers',
response.data.required_pull_request_reviews?.['required_approving_review_count']
);
})
.catch((error: any) => {
console.log('Branch protections is not enabled for repository: ' + repo);
Expand Down

0 comments on commit 7399e66

Please sign in to comment.