policy-bot icon indicating copy to clipboard operation
policy-bot copied to clipboard

Proposal: replace allow_contributor option with allow_non_author option

Open ajlake opened this issue 4 years ago • 0 comments

Because allow_contributor includes the PR author and overrides the allow_author option, you are unable to achieve the following workflow:

Scenario: you want to enable an approver who sees a small typo in an otherwise good PR to fix it. However, this policy doesn't quite do what you want because allow_contributor overrides allow_author.

    options:
      allow_contributor: true
      allow_author: false

Proposal is to deprecate allow_contributor and instead have allow_non_author which functions the same but is mutually exclusive.

ajlake avatar Oct 31 '19 22:10 ajlake