paritytech / pr-custom-review

GitHub Action for complex pull request approval cases that are not currently supported by the Branch protection feature in GitHub.
MIT License
8 stars 4 forks source link

Reviews optionally should not be requested for a rule #71

Closed joao-paulo-parity closed 2 years ago

joao-paulo-parity commented 2 years ago

Problem: some rules should simply fail without requesting the pending teams'/users' reviews

Solution: implement a request_review optional boolean rule attribute which prevents reviews requests.

Related to https://github.com/paritytech/pr-custom-review/blob/e63b255241a0072d79ec670d02b387c302245476/rules.md