File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+     "repoOwner" : " Neo4j"  ,
3+     "repoName" : " docs-graphql"  ,
4+     "prTitle" : " [Cherry-pick][{{targetBranch}}] {{commitMessages}}" 
5+   }
Original file line number Diff line number Diff line change 1+ name : auto-cherry-pick 
2+ on :
3+   pull_request_target :
4+     types : ["labeled", "closed"] 
5+ 
6+ jobs :
7+   backport :
8+     name : Cherry-pick PR 
9+     runs-on : [ubuntu-latest] 
10+     if : | 
11+       github.event.pull_request.merged == true  
12+       && contains(github.event.pull_request.labels.*.name, 'auto-cherry-pick') 
13+       && ( 
14+         (github.event.action == 'labeled' && github.event.label.name == 'auto-cherry-pick') 
15+         || (github.event.action == 'closed') 
16+       ) 
17+      steps :
18+       - name : Cherry-pick action 
19+         uses : sorenlouv/backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129 
20+         with :
21+           github_token : ${{ secrets.GITHUB_TOKEN }} 
22+           auto_backport_label_prefix : auto-cherry-pick-to- 
23+           add_original_reviewers : true 
24+ 
25+       - name : Info log 
26+         if : ${{ success() }} 
27+         run : cat ~/.backport/backport.info.log 
28+ 
29+       - name : Debug log 
30+         if : ${{ failure() }} 
31+         run : cat ~/.backport/backport.debug.log 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments