From 59e31c1c3fc38d674a741c7c9a06b946dbfbc8e4 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Thu, 22 Feb 2024 13:59:11 -0500 Subject: [PATCH] chore: ci only when targeting main --- .github/workflows/pr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9b13dcafe..18c2416cb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,6 +1,11 @@ name: PR on: pull_request: + types: [opened, synchronize, reopened] + # https://graphite.dev/docs/stacking-and-ci#running-ci-upstack + # This clause will prevent upstack PRs from running CI, because + # upstack branches aren't directly based on main. + branches: [main] jobs: pr: