From acd03fd797332f8f70c7450f27222ff9c1cf91e6 Mon Sep 17 00:00:00 2001 From: joeVenner Date: Wed, 10 Jun 2026 16:15:04 +0100 Subject: [PATCH] ci: run the pipeline on tags + manual dispatch only Building macOS/Windows + notarizing on every push and PR wastes Actions minutes. Trigger the full pipeline only on v* tags, plus workflow_dispatch so a branch can still be validated on demand (e.g. to test signing) before tagging. --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d234d7..5ed3a1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,13 @@ name: Build & Package on: + # The full pipeline (macOS/Windows builds, signing, notarization, release) is + # expensive, so it runs only on version tags — plus a manual button to + # validate a branch on demand before tagging, without burning minutes on + # every push/PR. push: - branches: [main, "feature/**"] tags: ["v*"] - pull_request: - branches: [main] + workflow_dispatch: env: CARGO_TERM_COLOR: always