File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -24,20 +24,30 @@ queue_rules:
2424
2525#  NOTE: in case of flaky tests you above checks will fail
2626#  the PR will be removed from the queue.
27- #  This retries the checks, as soon as they become green,
28- #  the PR will be pusehd to the queu again
27+ #  Once the PR is ready to be merged the flaky tests will
28+ #  be retried automatically.
29+ #  As soon as the CI is green, the PR will be pushed to the queue
2930pull_request_rules :
30-   - name : retry CI on fails (used for flaky tests ) 
31+   - name : retry flaky tests (when PR is approved ) 
3132    conditions :
3233      - label=🤖-automerge 
3334      - label!=🤖-do-not-merge 
3435      - base=master 
36+ 
37+       - -draft  #  PR is not in draft state
38+       - -conflict  #  No merge conflicts
39+       - " #approved-reviews-by>=2" #  Requires 2 approving reviews
40+       - " #changes-requested-reviews-by=0" #  No changes requested
41+       - " #review-threads-unresolved=0" #  All review threads resolved
42+ 
3543      - or :
3644          - check-failure=unit-tests 
3745          - check-failure=integration-tests 
3846          - check-failure=system-tests 
3947    actions :
48+       comment :
49+         message : " Restarted CI due to failing tests" 
4050      github_actions :
4151        workflow :
4252          dispatch :
43-             - workflow : .github/workflows/ ci-testing-deploy.yml
53+             - workflow : ci-testing-deploy.yml 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments