Skip to content

Commit a119132

Browse files
committed
chore: re-use pull-request fork are prevented by hardcoded check
1 parent b28c797 commit a119132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- 'tsconfig.json'
2828

2929
# PR triggers - only when labeled
30-
pull_request_target:
30+
pull_request:
3131
types: [labeled, synchronize]
3232

3333
jobs:
@@ -40,7 +40,7 @@ jobs:
4040
(
4141
github.event_name == 'workflow_dispatch' ||
4242
github.event_name == 'push' ||
43-
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'trigger: preview'))
43+
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'trigger: preview'))
4444
)
4545
runs-on: ubuntu-latest
4646
outputs:

0 commit comments

Comments
 (0)