Skip to content

Commit 5484c68

Browse files
committed
Try to fix action checkout bug
1 parent 4d98634 commit 5484c68

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/generate-test-ids.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515
with:
16-
ref: ${{ github.head_ref }} # Check out the PR branch, not the merge commit
16+
repository: ${{ github.event.pull_request.head.repo.full_name }}
17+
ref: ${{ github.event.pull_request.head.ref }} # Check out the PR branch, not the merge commit
18+
fetch-depth: 0
1719

1820
- name: Setup Node.js
1921
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)