File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
required : true
8
8
9
9
jobs :
10
- build :
10
+ backport-issue :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
Original file line number Diff line number Diff line change 32
32
run : |
33
33
git config --global user.name 'Spring Builds'
34
34
git config --global user.email 'builds@springframework.org'
35
- cherryPickToken=${{ inputs.autoCherryPickToken }}
36
- commitMessage=${{ github.event.head_commit.message }}
35
+ cherryPickToken=" ${{ inputs.autoCherryPickToken }}"
36
+ commitMessage=" ${{ github.event.head_commit.message }}"
37
37
branches=$(echo '$commitMessage' | grep '$cherryPickToken' | grep -o1 -E "([0-9]+\.[0-9]+\.x)")
38
38
branchCommitMessage=$(echo '$commitMessage' | grep -v '$cherryPickToken')
39
39
for branch in $branches
46
46
echo "::error title=Cannot cherry-pick::${{ github.sha }} to branch `$branch`. Manual procedure required"
47
47
exit 1
48
48
fi
49
- git commit –amend -m $branchCommitMessage
49
+ git commit –amend -m " $branchCommitMessage"
50
50
git push $branch
51
51
done
You can’t perform that action at this time.
0 commit comments