Skip to content

Commit

Permalink
Fix mergify DCO rule for all branches (#189)
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Aug 18, 2023
1 parent 1786865 commit 9f0d13b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -22,4 +24,4 @@ pull_request_rules:
remove:
- needs-dco
add:
- dco-passed
- dco-passed

0 comments on commit 9f0d13b

Please sign in to comment.