ci: drop quotes for Mergify regex matching

The matching with regexes on the `base=` configuration in Mergify does
not seem to work as intended. Possibly this is due the addtional quotes
around the regex.

Fixes: 8d7c66363 (ci: apply standard Mergify rules for release branches too)
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-05-04 10:30:32 +02:00 committed by Madhu Rajanna
parent 8d7c66363d
commit 70f4f3d5f6

View File

@ -15,7 +15,7 @@ defaults:
pull_request_rules: pull_request_rules:
- name: remove outdated approvals - name: remove outdated approvals
conditions: conditions:
- base~='^(devel)|(release-.+)$' - base~=^(devel)|(release-.+)$
actions: actions:
dismiss_reviews: dismiss_reviews:
approved: true approved: true
@ -32,7 +32,7 @@ pull_request_rules:
- name: automatic merge - name: automatic merge
conditions: conditions:
- label!=DNM - label!=DNM
- base~='^(devel)|(release-.+)$' - base~=^(devel)|(release-.+)$
- "#approved-reviews-by>=2" - "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0" - "#changes-requested-reviews-by=0"
- "status-success=codespell" - "status-success=codespell"
@ -58,7 +58,7 @@ pull_request_rules:
conditions: conditions:
- label!=DNM - label!=DNM
- label=ready-to-merge - label=ready-to-merge
- base~='^(devel)|(release-.+)$' - base~=^(devel)|(release-.+)$
- "#approved-reviews-by>=1" - "#approved-reviews-by>=1"
- "status-success=codespell" - "status-success=codespell"
- "status-success=multi-arch-build" - "status-success=multi-arch-build"