update contents.

pull/3072/head
Monet Lee 8 months ago
parent 252f94be39
commit c4f8d1a3fa

@ -117,7 +117,6 @@ jobs:
git cherry-pick --continue || { echo "Cherry-pick failed"; exit 1; } git cherry-pick --continue || { echo "Cherry-pick failed"; exit 1; }
fi fi
git cherry-pick "$merge_commit" --strategy=recursive -X theirs || git cherry-pick --continue
git remote set-url origin "https://${BOT_TOKEN}@github.com/${{ github.repository }}.git" git remote set-url origin "https://${BOT_TOKEN}@github.com/${{ github.repository }}.git"
echo "Pushing branch: $cherry_pick_branch" echo "Pushing branch: $cherry_pick_branch"
@ -125,7 +124,7 @@ jobs:
new_pr_title="$pr_title [Created by @$pr_creator from #$pr_number]" new_pr_title="$pr_title [Created by @$pr_creator from #$pr_number]"
new_pr_body="$pr_body new_pr_body="$pr_body
> This PR cherry-picks commit from original PR #$pr_number." > This PR is created from original PR #$pr_number."
response=$(curl -s -X POST -H "Authorization: token $BOT_TOKEN" \ response=$(curl -s -X POST -H "Authorization: token $BOT_TOKEN" \
-H "Accept: application/vnd.github+json" \ -H "Accept: application/vnd.github+json" \

Loading…
Cancel
Save