reviewersSampleSize has no effect if bbUseDefaultReviewers=true? #8802
-
We're using hosted instance of Renovate bot to scan repositories on Bitbucket Cloud. Some repositories have rather long list of default reviewers. When developers create their PRs, they remove some of the default reviewers and leave only relevant ones. We tried to limit the number of reviewers for Renovate PRs with Is there any way to limit number of reviewers for Bitbucket Cloud repositories with default reviewers specified? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've checked the code and confirmed it has no effect. The As a workaround, you'll need to configure reviewers in Renovate config manually and not use Alternatively, it will need a feature request issue in this repo for discussion of implementation details, but it would probably need yourself or someone else using BB Cloud with an interest in implementing it. |
Beta Was this translation helpful? Give feedback.
I've checked the code and confirmed it has no effect. The
bbUseDefaultReviewers
option is evaluated at the moment ofcreatePr()
within the bitbucket platform code, whilereviewersSampleSize
is evaluated after the PR is created and based off any configured reviewer list.As a workaround, you'll need to configure reviewers in Renovate config manually and not use
bbUseDefaultReviewers
if the group is too large.Alternatively, it will need a feature request issue in this repo for discussion of implementation details, but it would probably need yourself or someone else using BB Cloud with an interest in implementing it.