[size-report] correct the checkout ref (#11732)

The commit corrects the checkout ref to pull/<number>/merge, which is
the ref after merging and should be used for size checking.
This commit is contained in:
Yakun Xu
2025-07-16 10:07:24 -07:00
committed by GitHub
parent 2f1183f387
commit 5108ccdcf5
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
- name: Checkout Pull Request
if: ${{ github.event_name == 'pull_request_target' }}
run: |
git fetch origin pull/${{ github.event.pull_request.number }}/head
git fetch origin pull/${{ github.event.pull_request.number }}/merge
git checkout FETCH_HEAD
- name: Run
env: