From c8d3b3d20a12cff2c31e9f6989c97750e919fb9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Mon, 2 Oct 2023 08:55:37 +0200 Subject: [PATCH] refactor project --- src/branchprotection/BranchProtectionService.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/branchprotection/BranchProtectionService.ts b/src/branchprotection/BranchProtectionService.ts index 3da0ac75..ffe9edc4 100644 --- a/src/branchprotection/BranchProtectionService.ts +++ b/src/branchprotection/BranchProtectionService.ts @@ -6,7 +6,6 @@ export class BranchProtectionService { console.log('\n Running branch protection control'); const { owner, repo }: { owner: string; repo: string } = github.context.repo; - const numberOfReviewers: number = 0; const token: string = core.getInput('PAT-token'); const octokit: any = github.getOctokit(token); @@ -30,6 +29,5 @@ export class BranchProtectionService { console.log('Branch protections is not enabled for repository: ' + repo); console.log('Error:', error?.message); }); - core.exportVariable('numberOfReviewers', numberOfReviewers); } }