From d6ece8eab3492a0889d30236891a1907b793a727 Mon Sep 17 00:00:00 2001 From: goodboy Date: Tue, 7 Apr 2026 14:17:08 -0400 Subject: [PATCH] Only run CI on pushes to `main`, ow just on PR/dev branches --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd5fed9c..ea5b9811 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,20 @@ name: CI +# NOTE distilled from, +# https://github.com/orgs/community/discussions/26276 on: - # any time a new branch pushed to origin + # any time a new update to 'main' push: + branches: + - main + + # for on all (forked) PRs to repo + # NOTE, use a draft PR if you just want CI triggered.. + pull_request: # to run workflow manually from the "Actions" tab workflow_dispatch: - # for on all (forked) PRs to repo - pull_request: - jobs: # ------ sdist ------ # test that we can generate a software distribution and install it