Skip to content

Commit d7ccbb3

Browse files
committed
[size-report] fix the source code
1 parent bc4e3cd commit d7ccbb3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/size.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
5454

5555
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
56+
- name: Checkout Pull Request
57+
if: ${{ github.event_name == 'pull_request_target' }}
58+
run: |
59+
git fetch origin pull/${{ github.event.pull_request.number }}/head
60+
git checkout FETCH_HEAD
5661
- name: Run
5762
env:
5863
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)