Skip to content

Commit 132aa5f

Browse files
committed
chore: run e2e via actions directly
1 parent bddb3c1 commit 132aa5f

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,14 @@ permissions:
66
pull-requests: write
77

88
on:
9-
push:
10-
branches: [main]
119
pull_request:
12-
issue_comment:
13-
types: [created]
10+
workflow_dispatch:
1411

1512
jobs:
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

0 commit comments

Comments
 (0)