github.com/matrixorigin/matrixone@v1.2.0/.github/mergify.yml (about)

     1  queue_rules:
     2    - name: main
     3      merge_conditions: []
     4      checks_timeout: 4h
     5    - name: release-1.2
     6      merge_conditions: []
     7      checks_timeout: 4h
     8    - name: release-1.1
     9      merge_conditions: []
    10      checks_timeout: 4h
    11  
    12  pull_request_rules:
    13    - name: Automatic queue on approval for main
    14      conditions:
    15        - "#changes-requested-reviews-by<=0"
    16        - label!=do-not-merge/wip
    17        - base=main
    18      actions:
    19        queue:
    20          name: main
    21          method: squash
    22          commit_message_template: |
    23            {{ title }} (#{{ number }})
    24  
    25            {{ body | get_section("## What this PR does / why we need it:") }}
    26  
    27            Approved by: @{{ approved_reviews_by | join(', @') }}
    28  
    29    - name: Automatic queue on approval for release-1.2
    30      conditions:
    31        - "#changes-requested-reviews-by<=0"
    32        - label!=do-not-merge/wip
    33        - base=1.2-dev
    34        - approved-reviews-by=sukki37
    35      actions:
    36        queue:
    37          name: release-1.2
    38          method: squash
    39          commit_message_template: |
    40            {{ title }} (#{{ number }})
    41  
    42            {{ body | get_section("## What this PR does / why we need it:") }}
    43  
    44            Approved by: @{{ approved_reviews_by | join(', @') }}
    45  
    46    - name: Automatic queue on approval for release-1.1
    47      conditions:
    48        - "#changes-requested-reviews-by<=0"
    49        - label!=do-not-merge/wip
    50        - base=1.1-dev
    51        - approved-reviews-by=sukki37
    52      actions:
    53        queue:
    54          name: release-1.1
    55          method: squash
    56          commit_message_template: |
    57            {{ title }} (#{{ number }})
    58  
    59            {{ body | get_section("## What this PR does / why we need it:") }}
    60  
    61            Approved by: @{{ approved_reviews_by | join(', @') }}
    62  
    63    - name: Auto Request Reviewer
    64      conditions:
    65        - base!=main
    66      actions:
    67        request_reviews:
    68          users:
    69            - sukki37
    70  
    71    - name: Auto update branch
    72      conditions:
    73        - created-at>=00:10 ago
    74      actions:
    75        update: 
    76  
    77    - name: label for Bug
    78      conditions: 
    79        - body~=(?im)- \[x\] BUG
    80      actions:
    81        label:
    82          add:
    83            - kind/bug
    84    - name: label for Feature
    85      conditions: 
    86        - body~=(?im)- \[x\] Feature
    87      actions:
    88        label:
    89          add:
    90            - kind/feature
    91    - name: label for Improvement
    92      conditions: 
    93        - body~=(?im)- \[x\] Improvement
    94      actions:
    95        label:
    96          add:
    97            - kind/enhancement
    98    - name: label for Documentation
    99      conditions: 
   100        - body~=(?im)- \[x\] Documentation
   101      actions:
   102        label:
   103          add:
   104            - kind/documentation
   105    - name: label for Test and CI
   106      conditions: 
   107        - body~=(?im)- \[x\] Test and CI
   108      actions:
   109        label:
   110          add:
   111            - kind/test-ci
   112    - name: label for Code Refactoring
   113      conditions: 
   114        - body~=(?im)- \[x\] Code Refactoring
   115      actions:
   116        label:
   117          add:
   118            - kind/refactor
   119    - name: label for API-change
   120      conditions: 
   121        - body~=(?im)- \[x\] API-change
   122      actions:
   123        label:
   124          add:
   125            - kind/api-change