File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "repoOwner" : " phpDocumentor" ,
3+ "repoName" : " guides" ,
4+ "targetBranchChoices" : [" 1.x" ],
5+ "targetPRLabels" : [" backport" ],
6+ "autoMerge" : true ,
7+ "autoMergeMethod" : " merge"
8+ }
Original file line number Diff line number Diff line change 1+ name : " Backport"
2+
3+ on : # yamllint disable-line rule:truthy
4+ pull_request_target :
5+ types : ["labeled", "closed"]
6+
7+ jobs :
8+ backport :
9+ name : " Backport PR"
10+ runs-on : " ubuntu-latest"
11+ steps :
12+ - name : " Backport Action"
13+ uses : " sorenlouv/backport-github-action@v9.3.1"
14+ with :
15+ github_token : " ${{ secrets.GITHUB_TOKEN }}"
16+ auto_backport_label_prefix : " auto-backport-to-"
17+
18+ - name : " Info log"
19+ if : " ${{ success() }}"
20+ run : " cat /home/runner/.backport/backport.info.log"
21+
22+ - name : " Debug log"
23+ if : " ${{ failure() }}"
24+ run : " cat /home/runner/.backport/backport.debug.log"
You can’t perform that action at this time.
0 commit comments