Skip to content

Commit

Permalink
fix(pr-label-by-review): fix rulesets not being read (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cysword committed Sep 15, 2023
1 parent 826ed49 commit e796d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr-label-by-review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ runs:
});
// Filter out rules that are not for pull requests, Since we get all rules for the branch
const pullRequestRules = rules.data.filter(rule => rule.type === 'pull_request');
const pullRequestRules = rulesets.data.filter(rule => rule.type === 'pull_request');
const highestAmountOfApprovals = pullRequestRules.reduce((highest, rule) => {
const approvals = rule.parameters.required_approving_review_count ?? 0;
Expand Down

0 comments on commit e796d54

Please sign in to comment.