Skip to content

Commit 1f40f9c

Browse files
fbm3307cursoragent
andauthored
Add allow-unsafe-pr-checkout: true for fork PR checkouts (#1275)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 715f8ae commit 1f40f9c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish-components-for-e2e-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
ref: ${{github.event.pull_request.head.ref}}
2929
repository: ${{github.event.pull_request.head.repo.full_name}}
3030
fetch-depth: 0
31+
allow-unsafe-pr-checkout: true
3132

3233
# If the workflow was triggered based on comment, then we need to get the information about the PR
3334
# Is executed only for comment events
@@ -49,6 +50,7 @@ jobs:
4950
repository: ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}
5051
ref: ${{ fromJson(steps.request.outputs.data).head.ref }}
5152
fetch-depth: 0
53+
allow-unsafe-pr-checkout: true
5254

5355
- name: Install Go
5456
uses: actions/setup-go@v6

0 commit comments

Comments
 (0)