Skip to content

Commit

Permalink
chore: fix author matching in Mergify configuration (#4851)
Browse files Browse the repository at this point in the history
Fix the Mergify operator for author condition.

The current value for `author` is meant to be a regexp so the `~=` operator must be used to match it, not just `=`.
  • Loading branch information
jd authored and RomainMuller committed Nov 11, 2019
1 parent 2d034f1 commit d5cefe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pull_request_rules:
label:
add: [ contribution/core ]
conditions:
- author=(eladb|RomainMuller|garnaat|nija-at|shivlaks|skinny85|rix0rrr|NGL321|Jerry-AWS|SomayaB)
- author~=^(eladb|RomainMuller|garnaat|nija-at|shivlaks|skinny85|rix0rrr|NGL321|Jerry-AWS|SomayaB)$
- -label~="contribution/core"
- name: automatic merge
actions:
Expand Down

0 comments on commit d5cefe8

Please sign in to comment.