From c418a4cc46cd7a23f6605252c9474d31e2ee6601 Mon Sep 17 00:00:00 2001 From: Jonathan Perry Date: Thu, 8 Aug 2024 12:48:03 -0400 Subject: [PATCH] chore: add default GH PR workflow triggers to test workflows (#892) --- .github/workflows/e2e-llama-cpp-python.yaml | 8 +++++--- .github/workflows/e2e-playwright.yaml | 8 +++++--- .github/workflows/e2e-text-embeddings.yaml | 8 +++++--- .github/workflows/e2e-vllm.yaml | 8 +++++--- .github/workflows/e2e-whisper.yaml | 8 +++++--- .github/workflows/lint.yaml | 8 +++++--- .github/workflows/pytest.yaml | 8 +++++--- 7 files changed, 35 insertions(+), 21 deletions(-) diff --git a/.github/workflows/e2e-llama-cpp-python.yaml b/.github/workflows/e2e-llama-cpp-python.yaml index c8c084f9cd..66cd16bfb4 100644 --- a/.github/workflows/e2e-llama-cpp-python.yaml +++ b/.github/workflows/e2e-llama-cpp-python.yaml @@ -4,9 +4,11 @@ name: e2e-llama-cpp-python on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs paths: # Catch-all - "**" diff --git a/.github/workflows/e2e-playwright.yaml b/.github/workflows/e2e-playwright.yaml index 0f26aaaefc..671e4d9105 100644 --- a/.github/workflows/e2e-playwright.yaml +++ b/.github/workflows/e2e-playwright.yaml @@ -4,9 +4,11 @@ name: e2e-playwright on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs paths: # Catch-all - "**" diff --git a/.github/workflows/e2e-text-embeddings.yaml b/.github/workflows/e2e-text-embeddings.yaml index 234ccb2e26..eba01378d4 100644 --- a/.github/workflows/e2e-text-embeddings.yaml +++ b/.github/workflows/e2e-text-embeddings.yaml @@ -4,9 +4,11 @@ name: e2e-text-embeddings on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs paths: # Catch-all - "**" diff --git a/.github/workflows/e2e-vllm.yaml b/.github/workflows/e2e-vllm.yaml index 63c588a100..cedfab53e9 100644 --- a/.github/workflows/e2e-vllm.yaml +++ b/.github/workflows/e2e-vllm.yaml @@ -4,9 +4,11 @@ name: e2e-vllm on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs paths: # Catch-all - "**" diff --git a/.github/workflows/e2e-whisper.yaml b/.github/workflows/e2e-whisper.yaml index 40403bb8b1..7c3908aa57 100644 --- a/.github/workflows/e2e-whisper.yaml +++ b/.github/workflows/e2e-whisper.yaml @@ -4,9 +4,11 @@ name: e2e-whisper on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs paths: # Catch-all - "**" diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 53be4a941e..e4cca5a4be 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -2,9 +2,11 @@ name: lint on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs # Declare default permissions as read only. permissions: read-all diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 091dd3d452..87cac7d566 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -2,9 +2,11 @@ name: pytest on: pull_request: types: - - ready_for_review - - synchronize - - milestoned + - opened # default trigger + - reopened # default trigger + - synchronize # default trigger + - ready_for_review # don't run on draft PRs + - milestoned # allows us to trigger on bot PRs paths: - "**" - "!.github/**"