Skip to content

Commit 28361ec

Browse files
committed
FIX autopr when commit message contains quota ' character
1 parent f5bfa1b commit 28361ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/auto-pr-precise.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
set -x
5858
git checkout ${{steps.branch_info.outputs.NEXT_BRANCH}}
5959
git checkout -b ${{steps.create_branch.outputs.PRBRANCH}}
60-
TITLE=$(git log --format="| %s" ${{ github.event.commits[0].id }}~..${{ github.event.after }} | xargs)
60+
TITLE=$(git log --format="| %s" ${{ github.event.commits[0].id }}~..${{ github.event.after }} | xargs -0)
6161
echo "TITLE=$TITLE" >> $GITHUB_OUTPUT
6262
echo "MESSAGE<<__EOF" >> $GITHUB_OUTPUT
6363
git log --format="> %B" ${{ github.event.commits[0].id }}~..${{ github.event.after }} >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)