Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mergify rules branch to regexp #642

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=v2.2.x
- base~=^v2(\.\d+).x$
- "status-success=Unittest AMD64 Ubuntu 18.04"
- "status-success=lint"
- "status-success=Run Ci Test (standalone)"
Expand All @@ -15,8 +15,9 @@ pull_request_rules:

- name: Test passed for code changed for branch
conditions:
- -base=master
- -base=v2.2.x
- or:
- base=master
- base~=^v2(\.\d+).x$
- "status-success=Unittest AMD64 Ubuntu 18.04"
- "status-success=lint"
actions:
Expand All @@ -28,7 +29,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=v2.2.x
- base~=^v2(\.\d+).x$
- -files~=^(?!test\/).+
- "status-success=lint"
- "status-success=Run Ci Test (standalone)"
Expand Down Expand Up @@ -63,7 +64,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=v2.2.x
- base~=^v2(\.\d+).x$
- -files~=^(?!\.github\/).+
actions:
label:
Expand All @@ -75,7 +76,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=v2.2.x
- base~=^v2(\.\d+).x$
- -files~=^(?!examples\/).+
- "status-success=lint"
actions:
Expand All @@ -87,7 +88,7 @@ pull_request_rules:
conditions:
- or:
- base=master
- base=v2.2.x
- base~=^v2(\.\d+).x$
- or:
- "check-failure=Unittest AMD64 Ubuntu 18.04"
- "check-failure=lint"
Expand All @@ -98,8 +99,9 @@ pull_request_rules:

- name: Remove ci-passed when some test failed for branch
conditions:
- -base=master
- -base=v2.2.x
- or:
- base=master
- base~=^v2(\.\d+).x$
- or:
- "check-failure=Unittest AMD64 Ubuntu 18.04"
- "check-failure=lint"
Expand Down