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-operations" ,
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 : ["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+ && github.event.action == 'closed'
14+ )
15+ steps :
16+ - name : Cherry-pick action
17+ uses : sorenlouv/backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129
18+ with :
19+ github_token : ${{ secrets.GITHUB_TOKEN }}
20+ auto_backport_label_prefix : auto-cherry-pick-to-
21+ add_original_reviewers : false
22+
23+ - name : Info log
24+ if : ${{ success() }}
25+ run : cat ~/.backport/backport.info.log
26+
27+ - name : Debug log
28+ if : ${{ failure() }}
29+ run : cat ~/.backport/backport.debug.log
30+
31+
You can’t perform that action at this time.
0 commit comments