|
|
|
@ -117,7 +117,6 @@ jobs:
|
|
|
|
|
git cherry-pick --continue || { echo "Cherry-pick failed"; exit 1; }
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
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_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" \
|
|
|
|
|
-H "Accept: application/vnd.github+json" \
|
|
|
|
|