File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 11name : auto-cherry-pick
22on :
33 pull_request_target :
4- types : ["labeled", " closed"]
4+ types : ["closed"]
55
66jobs :
77 backport :
88 name : Cherry-pick PR
99 runs-on : [ubuntu-latest]
1010 if : |
1111 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')
12+ && contains(github.event.pull_request.labels.*.name, 'cherry-pick')
13+ && github.event.action == 'closed'
1614 )
1715 steps :
1816 - name : Cherry-pick action
1917 uses : sorenlouv/backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129
2018 with :
2119 github_token : ${{ secrets.GITHUB_TOKEN }}
22- auto_backport_label_prefix : auto- cherry-pick-to-
23- add_original_reviewers : true
20+ auto_backport_label_prefix : cherry-pick-to-
21+ add_original_reviewers : false
2422
2523 - name : Info log
2624 if : ${{ success() }}
You can’t perform that action at this time.
0 commit comments