From c314b719179e20bfb7625343addb7b2082f7a928 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 24 Oct 2024 12:11:07 +0200 Subject: [PATCH] ci: trigger ci runs from upstream --- .github/workflows/server-tests-mariadb.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/server-tests-mariadb.yml b/.github/workflows/server-tests-mariadb.yml index 7bef248535c..74d3f036d9e 100644 --- a/.github/workflows/server-tests-mariadb.yml +++ b/.github/workflows/server-tests-mariadb.yml @@ -1,6 +1,8 @@ name: Server (Mariadb) on: + repository_dispatch: + types: [frappe-framework-change] pull_request: paths-ignore: - '**.js' @@ -117,7 +119,7 @@ jobs: DB: mariadb TYPE: server FRAPPE_USER: ${{ github.event.inputs.user }} - FRAPPE_BRANCH: ${{ github.event.inputs.branch }} + FRAPPE_BRANCH: ${{ github.event.client_payload.sha || github.event.inputs.branch }} - name: Run Tests run: 'cd ~/frappe-bench/ && bench --site test_site run-parallel-tests --app erpnext --total-builds ${{ strategy.job-total }} --build-number ${{ matrix.container }}'