File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 17
17
18
18
environment : ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) && 'external-fork-preview' || '' }}
19
19
20
- if : |
21
- github.event_name == 'workflow_dispatch' ||
22
- github.event_name == 'pull_request_target' ||
23
- (github.event_name == 'issue_comment' &&
24
- github.event.issue.pull_request &&
25
- contains(github.event.comment.body, '/build-preview') &&
26
- (github.event.comment.author_association == 'OWNER' ||
27
- github.event.comment.author_association == 'MEMBER' ||
28
- github.event.comment.author_association == 'COLLABORATOR'))
29
20
30
21
steps :
31
22
- name : Get PR details for comment trigger
@@ -169,4 +160,4 @@ jobs:
169
160
owner : context.repo.owner,
170
161
repo : context.repo.repo,
171
162
body : commentBody
172
- });
163
+ });
You can’t perform that action at this time.
0 commit comments