From 0dc5d44c0910d11167c60eeeefb1b35f56f0debd Mon Sep 17 00:00:00 2001
From: Tamir Duberstein <tamird@gmail.com>
Date: Thu, 27 Feb 2025 16:08:21 -0500
Subject: [PATCH] ci: run on all branches

It is especially common to run CI on non-main branches in forks. This
shouldn't have any impact on how many CI jobs we run in the main aya
repo if contributors follow a fork-centric workflow.
---
 .github/workflows/ci.yml  | 5 +----
 .github/workflows/gen.yml | 3 +--
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index af702576..e04f7333 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,12 +2,9 @@ name: aya-ci
 
 on:
   push:
-    branches:
-      - main
+    branches-ignore: 'create-pull-request/**'
 
   pull_request:
-    branches:
-      - main
 
   schedule:
     - cron: 00 4 * * *
diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml
index 086e9ef5..2b3c6c92 100644
--- a/.github/workflows/gen.yml
+++ b/.github/workflows/gen.yml
@@ -2,8 +2,7 @@ name: codegen
 
 on:
   push:
-    branches:
-      - main
+    branches-ignore: 'create-pull-request/**'
 
   schedule:
     - cron: 00 4 * * *