From 6fac278adb3c6390231c7f25c2709cbfb1fdb7a4 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 17 Mar 2025 19:18:05 -0400 Subject: [PATCH] Only build and test commits that are for a PR or on main --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99c1cb1c..9ba2251c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,14 @@ name: CI Tests on: push: - - # pull_request: - # branches: ["main"] + branches: + - main + + pull_request: + types: + - opened + - reopened + - synchronize env: BUILD_DIR: "${{ github.workspace }}/build"