Skip to content

Commit 9265acc

Browse files
committed
build: update PR auto create
1 parent 313d022 commit 9265acc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ jobs:
3333
# replace newlines with \n
3434
sed -i ':a;N;$!ba;s/\n/\\n/g' /tmp/commit_messages.txt
3535
36-
echo "commit_messages:"
36+
echo "commit messages:\n"
3737
cat /tmp/commit_messages.txt
38+
echo "\n"
3839
3940
curl https://api.openai.com/v1/chat/completions \
4041
-H "Content-Type: application/json" \
@@ -72,8 +73,9 @@ jobs:
7273
# replace " with \"
7374
sed -i 's/"/\\"/g' /tmp/summary.txt
7475
75-
echo "summary:"
76+
echo "summary:\n"
7677
cat /tmp/summary.txt
78+
echo "\n"
7779
7880
echo "summary=$(cat /tmp/summary.txt)" >> $GITHUB_OUTPUT
7981

0 commit comments

Comments
 (0)