We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc4e3cd commit d7ccbb3Copy full SHA for d7ccbb3
1 file changed
.github/workflows/size.yml
@@ -53,6 +53,11 @@ jobs:
53
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
54
55
- 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
61
- name: Run
62
env:
63
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
0 commit comments