From 587cb914ea964937bc377a39824d868f4cd314c4 Mon Sep 17 00:00:00 2001 From: PatternCatalyst Date: Mon, 19 Oct 2026 11:59:10 -0400 Subject: [PATCH] ci: build on main pushes + PRs only, not every branch push Dedupe double CI runs on pull requests: workflows triggered on both push: branches ["**"] and pull_request, so every PR push ran each workflow twice. Restrict push to [main] and keep pull_request for PR validation. One run per PR, one per merge; deploy still only from main. --- .github/workflows/pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 0316ef5..c04729c 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -11,7 +11,7 @@ name: Build and deploy site on: push: - branches: ["**"] # build on a push to ANY branch + branches: [main] # push to main only; PRs validate via pull_request below pull_request: branches: [main] # build on PRs targeting main workflow_dispatch: # allow manual runs from the Actions UI