Skip to content

Commit ffcd3c4

Browse files
authored
ci: revert to pull_request (#757)
1 parent e4567e2 commit ffcd3c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/preview.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 🔂 Surge PR Preview
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [labeled]
66

77
jobs:
@@ -10,8 +10,6 @@ jobs:
1010
if: contains(github.event.pull_request.labels.*.name, 'SurgePreview')
1111
steps:
1212
- uses: actions/checkout@v2
13-
with:
14-
ref: refs/pull/${{ github.event.pull_request.number }}/merge
1513
- uses: afc163/surge-preview@v1
1614
with:
1715
surge_token: ${{ secrets.SURGE_TOKEN }}

0 commit comments

Comments
 (0)