File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,24 +6,14 @@ permissions:
66 pull-requests : write
77
88on :
9- push :
10- branches : [main]
119 pull_request :
12- issue_comment :
13- types : [created]
10+ workflow_dispatch :
1411
1512jobs :
1613 e2e :
1714 runs-on : ubuntu-latest
18- # Run on push/PR or when a maintainer comments "/test e2e" or "/run e2e"
19- if : |
20- github.event_name != 'issue_comment' || (
21- github.event.issue.pull_request &&
22- (contains(github.event.comment.body, '/test e2e') || contains(github.event.comment.body, '/run e2e')) &&
23- (github.event.comment.author_association == 'OWNER' ||
24- github.event.comment.author_association == 'MEMBER' ||
25- github.event.comment.author_association == 'COLLABORATOR')
26- )
15+ # Only run on workflow_dispatch (manual trigger), but always register check on PRs
16+ if : github.event_name == 'workflow_dispatch'
2717
2818 steps :
2919 - name : Checkout code
You can’t perform that action at this time.
0 commit comments