File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 27
27
- ' tsconfig.json'
28
28
29
29
# PR triggers - only when labeled
30
- pull_request :
30
+ pull_request_target :
31
31
types : [labeled, synchronize]
32
32
33
33
jobs :
34
- debug-context :
35
- runs-on : ubuntu-latest
36
34
preview :
37
35
# Run only for PRs with 'trigger: preview' label or pushes to master
38
36
if : >
39
37
github.repository == 'supabase/postgrest-js' &&
40
38
(
41
39
github.event_name == 'workflow_dispatch' ||
42
40
github.event_name == 'push' ||
43
- (github.event_name == 'pull_request ' && contains(github.event.pull_request.labels.*.name, 'trigger: preview'))
41
+ (github.event_name == 'pull_request_target ' && contains(github.event.pull_request.labels.*.name, 'trigger: preview'))
44
42
)
45
43
runs-on : ubuntu-latest
46
44
outputs :
You can’t perform that action at this time.
0 commit comments