ci: checkout pull request ref

This commit is contained in:
Alex Yang
2023-08-16 00:54:57 -05:00
parent 7546b080ea
commit 93d352f3d8

View File

@@ -19,6 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
# This is required to fetch all commits for chromatic
fetch-depth: 0
- name: Setup Node.js