File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 11name : Backport
2+
23on :
3- pull_request :
4- types :
5- - closed
6- - labeled
4+ pull_request_target :
5+ types : ["labeled", "closed"]
76
87jobs :
98 backport :
10- runs-on : ubuntu-22.04
11- name : Backport
9+ name : Backport PR
10+ runs-on : ubuntu-latest
11+ if : github.event.pull_request.merged == true && !(contains(github.event.pull_request.labels.*.name, 'backport-'))
12+
1213 steps :
1314 - name : Backport
14- uses : tibdex /backport@v1
15+ uses : sorenlouv /backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129
1516 with :
1617 github_token : ${{ secrets.GITHUB_TOKEN }}
18+ auto_backport_label_prefix : ' backport-'
19+
20+ - name : Info log
21+ if : ${{ success() }}
22+ run : cat ~/.backport/backport.info.log
23+
24+ - name : Debug log
25+ if : ${{ failure() }}
26+ run : cat ~/.backport/backport.debug.log
You can’t perform that action at this time.
0 commit comments