From 01156ca16a5fc5abae37f275364ff578dacc9eb8 Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Wed, 13 May 2026 19:44:47 -0400 Subject: [PATCH] CI: only run push workflow on main (#124) Both push and pull_request triggered on "**", so PRs from same-repo branches ran every workflow twice. Restrict push to main; pull_request still covers PRs from any branch. Closes #124 Signed-off-by: Douglas Stebila Co-authored-by: Ry Jones Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/python_detailed.yml | 2 +- .github/workflows/python_simplified.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python_detailed.yml b/.github/workflows/python_detailed.yml index 95ab765..4768312 100644 --- a/.github/workflows/python_detailed.yml +++ b/.github/workflows/python_detailed.yml @@ -2,7 +2,7 @@ name: GitHub actions detailed on: push: - branches: [ "**" ] + branches: [ "main" ] pull_request: branches: [ "**" ] repository_dispatch: diff --git a/.github/workflows/python_simplified.yml b/.github/workflows/python_simplified.yml index ad691cf..572aafe 100644 --- a/.github/workflows/python_simplified.yml +++ b/.github/workflows/python_simplified.yml @@ -2,7 +2,7 @@ name: GitHub actions simplified on: push: - branches: [ "**" ] + branches: [ "main" ] pull_request: branches: [ "**" ] repository_dispatch: