File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2323 const labels = issue.labels.map(label => label.name);
2424 console.log(`Labels: ${labels}`);
2525
26- const branches = labels.filter(label => label.startsWith('cherry-pick/ '))
27- .map(label => label.substr(12 ));
26+ const branches = labels.filter(label => label.startsWith('backport '))
27+ .map(label => label.substr(9 ));
2828 console.log(`Branches: ${branches}`);
2929
3030 return branches
5454 uses : korthout/backport-action@v3
5555 with :
5656 github_token : ${{ steps.get_workflow_token.outputs.token }}
57- label_pattern : >-
58- ^cherry-pick\/([^ ]+)$
5957 pull_title : ' ${pull_title} [Backport ${target_branch}]'
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ labels:
9696 # CherryPick
9797 - color : fef2a0
9898 description : This PR should be cherry-picked to release/0.2.z branch.
99- name : cherry-pick/ release/0.2.z
99+ name : backport release/0.2.z
100100
101101# Milestones
102102# List of milestones, and their state, that should exist in the specified repositories.
You can’t perform that action at this time.
0 commit comments