From 671fd6e138c7376e27256088473b035d994938d9 Mon Sep 17 00:00:00 2001 From: Scott Lepper Date: Thu, 27 Mar 2025 14:09:29 -0400 Subject: [PATCH] Search e2e - limit paths that will trigger (#103015) * Search - e2e - set paths and fix push branch --- .github/workflows/trigger-dashboard-search-e2e.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trigger-dashboard-search-e2e.yml b/.github/workflows/trigger-dashboard-search-e2e.yml index d79803c3eb3..e4ccf56fa52 100644 --- a/.github/workflows/trigger-dashboard-search-e2e.yml +++ b/.github/workflows/trigger-dashboard-search-e2e.yml @@ -4,17 +4,25 @@ name: trigger-dashboard-search-e2e on: push: branches: - - e2e-async-job + - main + paths: + - public/app/features/search/**/*.ts + - public/app/features/search/**/*.tsx + - pkg/storage/**/*.go pull_request: branches: - main - + paths: + - public/app/features/search/**/*.ts + - public/app/features/search/**/*.tsx + - pkg/storage/**/*.go env: ARCH: linux-amd64 jobs: trigger-search-e2e: runs-on: ubuntu-latest + if: github.event.pull_request.draft == false steps: - name: Trigger Dashboard Search E2E run: echo "Triggered Dashboard Search e2e..." \ No newline at end of file