File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,11 +57,12 @@ 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 -0)
61- echo "TITLE=$TITLE" >> $GITHUB_OUTPUT
62- echo "MESSAGE<<__EOF" >> $GITHUB_OUTPUT
60+ echo "TITLE<<__AUTOPR_EOF"
61+ git log --format="| %s" ${{ github.event.commits[0].id }}~..${{ github.event.after }} | tr '\n' ' ' >> $GITHUB_OUTPUT
62+ echo "__AUTOPR_EOF" >> $GITHUB_OUTPUT
63+ echo "MESSAGE<<__AUTOPR_EOF" >> $GITHUB_OUTPUT
6364 git log --format="> %B" ${{ github.event.commits[0].id }}~..${{ github.event.after }} >> $GITHUB_OUTPUT
64- echo "__EOF " >> $GITHUB_OUTPUT
65+ echo "__AUTOPR_EOF " >> $GITHUB_OUTPUT
6566 cat $GITHUB_OUTPUT
6667 REVS=$(git rev-list --reverse ${{ github.event.commits[0].id }}~..${{ github.event.after }} )
6768 for rev in "$REVS"; do
You can’t perform that action at this time.
0 commit comments