Skip to content

Commit

Permalink
Merge pull request #27 from Omegapoint/feature/FixedBranchprotectionZero
Browse files Browse the repository at this point in the history
refactor project
  • Loading branch information
jonathanbokvad authored Oct 2, 2023
2 parents 4295c62 + c8d3b3d commit 4582da6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
}
}

0 comments on commit 4582da6

Please sign in to comment.