Skip to content

Commit bb87f33

Browse files
committed
More spring-cherry-pick.yml fixes
* Fix job name in the `spring-backport-issue.yml` workflow
1 parent aa5418e commit bb87f33

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/spring-backport-issue.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
required: true
88

99
jobs:
10-
build:
10+
backport-issue:
1111
runs-on: ubuntu-latest
1212
steps:
1313

.github/workflows/spring-cherry-pick.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
run: |
3333
git config --global user.name 'Spring Builds'
3434
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 }}"
3737
branches=$(echo '$commitMessage' | grep '$cherryPickToken' | grep -o1 -E "([0-9]+\.[0-9]+\.x)")
3838
branchCommitMessage=$(echo '$commitMessage' | grep -v '$cherryPickToken')
3939
for branch in $branches
@@ -46,6 +46,6 @@ jobs:
4646
echo "::error title=Cannot cherry-pick::${{ github.sha }} to branch `$branch`. Manual procedure required"
4747
exit 1
4848
fi
49-
git commit –amend -m $branchCommitMessage
49+
git commit –amend -m "$branchCommitMessage"
5050
git push $branch
5151
done

0 commit comments

Comments
 (0)