From 9f0d13b8640d3a005ae16a86335cc3ea8718b6e6 Mon Sep 17 00:00:00 2001 From: congqixia Date: Fri, 18 Aug 2023 12:06:13 +0800 Subject: [PATCH] Fix mergify DCO rule for all branches (#189) Signed-off-by: Congqi Xia --- .github/mergify.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 8622395..8eb9864 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -1,7 +1,9 @@ pull_request_rules: - name: Add needs-dco label when DCO check failed conditions: - - base=main + - or: + - -base=main + - -base=v.+ - -status-success=DCO actions: label: @@ -22,4 +24,4 @@ pull_request_rules: remove: - needs-dco add: - - dco-passed \ No newline at end of file + - dco-passed