From 373a469d9260dcdb480f4e7fd75b4b6156444a8f Mon Sep 17 00:00:00 2001 From: Jaap de Haan <261428+jdehaan@users.noreply.github.com> Date: Fri, 14 Nov 2025 18:27:03 +0000 Subject: [PATCH] fix: Release only for tags on main --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 587b24e..aa348db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,6 @@ name: Release Workflow on: push: - branches: - - main tags: - "v*" @@ -11,6 +9,7 @@ jobs: build: name: Build and Release Binaries runs-on: ubuntu-latest + if: github.ref_type == 'tag' && github.event.base_ref == 'refs/heads/main' strategy: matrix: