File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
jobs :
14
14
cherry-pick :
15
15
runs-on : ubuntu-latest
16
- if : contains(github.event.head_commit.message, 'auto -cherry-pick')
16
+ if : contains(github.event.head_commit.message, 'Auto -cherry-pick to ')
17
17
steps :
18
18
19
19
- uses : actions/checkout@v4
25
25
run : |
26
26
git config --global user.name 'Spring Builds'
27
27
git config --global user.email '[email protected] '
28
- branches=$(echo '${{ github.event.head_commit.message }}' | grep -i auto- cherry-pick | grep -o1 -E "([0-9]+\.[0-9]+\.x)")
29
- branchCommitMessage=$(echo '${{ github.event.head_commit.message }}' | grep -v -i auto- cherry-pick)
28
+ branches=$(echo '${{ github.event.head_commit.message }}' | grep 'Auto- cherry-pick to' | grep -o1 -E "([0-9]+\.[0-9]+\.x)")
29
+ branchCommitMessage=$(echo '${{ github.event.head_commit.message }}' | grep -v 'Auto- cherry-pick to' )
30
30
for branch in $branches
31
31
do
32
32
git checkout $branch
You can’t perform that action at this time.
0 commit comments