Use PR's ref

This commit is contained in:
Lim Chee Aun 2024-09-09 23:48:04 +08:00
parent f113bbf20d
commit 4d81551cdd

View file

@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: andresz1/size-limit-action@v1.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}