Skip to content

Commit a56c207

Browse files
authored
removed if trigger for /build-preview create-preview-link.yml remo
1 parent 54ee687 commit a56c207

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/create-preview-link.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ jobs:
1717

1818
environment: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) && 'external-fork-preview' || '' }}
1919

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'))
2920

3021
steps:
3122
- name: Get PR details for comment trigger
@@ -169,4 +160,4 @@ jobs:
169160
owner: context.repo.owner,
170161
repo: context.repo.repo,
171162
body: commentBody
172-
});
163+
});

0 commit comments

Comments
 (0)