feat(GHA): Renovate auto rebase after PR automerge enabled

This commit is contained in:
JJGadgets
2025-04-21 19:24:20 +08:00
parent e3099012dd
commit d8c7ecc4e9

View File

@@ -57,7 +57,7 @@ jobs:
echo "run 2 $runsCount2"
if [[ "${runsCount2}" == "0" ]]; then
echo "run"
gh api --method PUT /repos/${{ github.event.pull_request.base.repo.full_name }}/pulls/${{ github.event.pull_request.number }}/update-branch --field expected_head_sha=${{ github.event.pull_request.head.sha }}
# gh api --method PUT /repos/${{ github.event.pull_request.base.repo.full_name }}/pulls/${{ github.event.pull_request.number }}/update-branch --field expected_head_sha=${{ github.event.pull_request.head.sha }}
break
else
echo "not yet at $(date -I), pass 1"