Skip to content

Commit 162ea56

Browse files
authored
Revert "ci: update preview trigger to pull_request_target to enable previews for forks" (#395)
* Revert "ci: update preview trigger to pull_request_target to enable previews …" This reverts commit 3b5831a. * Update .github/workflows/preview.yml
1 parent 488348f commit 162ea56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Deploy PR previews
22

33
on:
4-
pull_request_target:
4+
# This workflow requires pull_request and won't work with pull_request_target
5+
# due to github permissions
6+
pull_request:
57
types:
68
- opened
79
- reopened

0 commit comments

Comments
 (0)