How would you do to forbid the author as reviewer? #5068
Replies: 2 comments
-
Hi. - name: request review
conditions:
- -author=mergify-ci-bot
- -merged
- -closed
- ...
- "#approved-reviews-by=0"
- "#changes-requested-reviews-by=0"
- "review-requested!=@devs"
actions:
request_reviews:
teams:
- devs This allows requesting reviews from the dev team on opened pull requests not yet approved. There may be another way with template strings. Each condition is a template string where you can use pull request properties, like Hope this helps |
Beta Was this translation helpful? Give feedback.
-
Thank you for you answer. I wanted to avoid teams since it might create a lot of different teams in github. Maybe I can have some filtering with mergify to avoid as you said with |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using mergify to setup a list of rules to automatically add review request. I would like to add review request but not the author.
Like
But the PR author is
bar
, how to do you tell mergify thatbar
cannot review this PR? Is it automatically handled by mergify?Beta Was this translation helpful? Give feedback.
All reactions