Skip to content

Commit 889cef9

Browse files
authored
ci: remove label trigger e2e test (#3262)
1 parent d32c945 commit 889cef9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- "**"
77
pull_request:
8-
types: [labeled, synchronize]
98
branches:
109
- "**"
1110
schedule:
@@ -23,8 +22,8 @@ concurrency:
2322

2423
jobs:
2524
test:
26-
# only run when e2e-test label is added, scheduled, workflow_dispatch, repository_dispatch
27-
if: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'e2e-test')) || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch' }}
25+
# only run when e2e-test scheduled, workflow_dispatch, repository_dispatch
26+
if: ${{ github.event_name == 'pull_request' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch' }}
2827
timeout-minutes: 40
2928
runs-on: ubuntu-latest
3029
steps:

0 commit comments

Comments
 (0)