From 1b11c27e20e72d425fc1fed9d0e8208e3f513690 Mon Sep 17 00:00:00 2001 From: Aditya Sirish <8928778+adityasaky@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:31:21 -0400 Subject: [PATCH] Trigger workflows on push only to main branch (#578) Signed-off-by: Aditya Sirish A Yelgundhalli --- .github/workflows/e2e.yaml | 2 ++ .github/workflows/verify.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 37229d57..326f521b 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -2,7 +2,9 @@ name: E2E on: push: + branches: ["main"] pull_request: + branches: ["main"] workflow_dispatch: jobs: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 8ff4dc63..af7052d6 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -2,7 +2,9 @@ name: Verify on: push: + branches: ["main"] pull_request: + branches: ["main"] permissions: contents: read