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 7fd10a932 feat(workflow/e2e): allow `repository_dispatch` trigger 
tests (#3110)
7fd10a932 is described below

commit 7fd10a93256ab28e5777bb9cfaaaf4fb757996f4
Author: YYYoung <[email protected]>
AuthorDate: Mon Jun 9 18:06:50 2025 +0800

    feat(workflow/e2e): allow `repository_dispatch` trigger tests (#3110)
    
    * feat(workflow/e2e): allow `workflow_dispatch` trigger tests
    
    * feat(workflow/e2e): allow `repository_dispatch` trigger tests
    
    * Revert "Merge branch 'master' into 
young/feat/workflow/e2e-repository-dispatch"
    
    This reverts commit c9976ae9aee68e905370ee00954a9d7e3a803d3b, reversing
    changes made to da47af6b8ea2f946caa6c19dcb7edb5ca8ec7822.
---
 .github/workflows/e2e.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index c21843135..fae3e043e 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -13,6 +13,8 @@ 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 * * *'
+  repository_dispatch:
+    types: [e2e-test]
   workflow_dispatch:
 
 concurrency:
@@ -21,8 +23,8 @@ concurrency:
 
 jobs:
   test:
-    # 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' }}
+    # only run when e2e-test label is added, scheduled, workflow_dispatch, 
repository_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' || 
github.event_name == 'repository_dispatch' }}
     timeout-minutes: 40
     runs-on: ubuntu-latest
     steps:

Reply via email to