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