Skip to content

Commit b2cd178

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

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
@@ -31,6 +31,7 @@ jobs:
3131
ref: ${{github.event.pull_request.head.ref}}
3232
repository: ${{github.event.pull_request.head.repo.full_name}}
3333
fetch-depth: 0
34+
allow-unsafe-pr-checkout: true
3435

3536
# If the workflow was triggered based on comment, then we need to get the information about the PR
3637
- name: Send Github API Request to get PR data
@@ -51,6 +52,7 @@ jobs:
5152
repository: ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}
5253
ref: ${{ fromJson(steps.request.outputs.data).head.ref }}
5354
fetch-depth: 0
55+
allow-unsafe-pr-checkout: true
5456

5557
- name: Install Go
5658
uses: actions/setup-go@v6

0 commit comments

Comments
 (0)