Skip to content

Commit bd9a086

Browse files
committed
ci: try head.sha for size ci instead
1 parent 6d76505 commit bd9a086

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/size.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: size
22
on:
33
# this action will error unless run in a pr context
4-
pull_request_target:
54
pull_request:
65
branches:
76
- main
@@ -20,7 +19,7 @@ jobs:
2019
steps:
2120
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2221
with:
23-
ref: ${{ github.event.pull_request.head.ref }}
22+
ref: ${{ github.event.pull_request.head.sha }}
2423
- run: npm i -g --force corepack && corepack enable
2524
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
2625
with:

0 commit comments

Comments
 (0)