-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Expected Behavior
PR shouldn't be merged when PR has no reviews or if assignee is trying to merge it.
Actual Behavior
PR was getting merged
Steps to Reproduce the Problem
- We have below configuration in mergify.yaml
---
pull_request_rules:
- name: automatic merge
conditions:
- label!=DNM
- label!=work-in-progress
- base=master
- "approved-reviews-by=@red-hat-storage/cephci-top-level-reviewers"
- "check-success=tox (3.9.18)"
- check-success=WIP
actions:
merge:
method: merge
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: >
"This pull request now has conflicts with the target branch.
Could you please resolve conflicts and force push the corrected
changes?"
- So anyone can have a label
approvedin labels, so its getting merged. - Can we have a condition in above configuration file in such a way only when reviewers keep label as
approved, PR should get merged.
Specifications
- Pull Request URL:
- Mergify Config URL:
Metadata
Metadata
Assignees
Labels
No labels