This is an automated email from the ASF dual-hosted git repository.

young pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new b3cf7468c feat(workflow/e2e): allow `workflow_dispatch` trigger tests 
(#3109)
b3cf7468c is described below

commit b3cf7468c446504dc70d71afaa9a87b8d32541a5
Author: YYYoung <[email protected]>
AuthorDate: Mon Jun 9 17:54:14 2025 +0800

    feat(workflow/e2e): allow `workflow_dispatch` trigger tests (#3109)
---
 .github/workflows/e2e.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index ad9026f49..c21843135 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -13,6 +13,7 @@ on:
     # This should be later than the update time of `apache/apisix:dev`
     # Ref: 
https://github.com/apache/apisix-docker/blob/master/.github/workflows/apisix_dev_push_docker_hub.yaml#L7C15-L7C16
     - cron: '0 2 * * *'
+  workflow_dispatch:
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}
@@ -20,8 +21,8 @@ concurrency:
 
 jobs:
   test:
-    # only run when e2e-test label is added or scheduled
-    if: ${{ (github.event_name == 'pull_request' && 
contains(github.event.pull_request.labels.*.name, 'e2e-test')) || 
github.event_name == 'schedule' }}
+    # only run when e2e-test label is added, scheduled, workflow_dispatch
+    if: ${{ (github.event_name == 'pull_request' && 
contains(github.event.pull_request.labels.*.name, 'e2e-test')) || 
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
     timeout-minutes: 40
     runs-on: ubuntu-latest
     steps:

Reply via email to