From 6ea931a166fe3e9275ae6907f7a3f5376a01c12f Mon Sep 17 00:00:00 2001 From: Gary Gale Date: Fri, 17 Jan 2025 16:51:49 +0000 Subject: [PATCH] test #459: only run GHA pipeline build and publish jobs on main --- .github/workflows/ci-cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c1825bf..999e2b3 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -76,6 +76,7 @@ jobs: build: name: Build distributions + if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: [test-summary] steps: