Skip to content

Commit 7157652

Browse files
authored
chore: allow forks run private repo tests (#5176)
1 parent 0224d5f commit 7157652

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/private-repo-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Private Repo Testing
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
branches:
66
- main
77

@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/checkout@v5
2121
with:
2222
fetch-depth: 0
23+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
2324
- name: Set up Python
2425
uses: actions/setup-python@v5
2526
with:

0 commit comments

Comments
 (0)