From a0e3a9207f849143ea3ea70baa5013a00650e0ea Mon Sep 17 00:00:00 2001 From: Remko Date: Fri, 27 Mar 2026 17:39:08 +0100 Subject: [PATCH] Updated release.yml --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7be5a1156..c1a5539ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,14 +2,11 @@ name: Release on: push: - branches: [development] - pull_request: - branches: [beta, main] - types: [closed] + branches: [main, beta, development] jobs: unstable: - if: github.event_name == 'push' && github.ref == 'refs/heads/development' + if: false # unstable builds are disabled uses: ConductionNL/.github/.github/workflows/release.yml@main with: release-type: unstable @@ -19,7 +16,7 @@ jobs: secrets: inherit beta: - if: github.event.pull_request.merged == true && github.base_ref == 'beta' + if: github.ref == 'refs/heads/beta' uses: ConductionNL/.github/.github/workflows/release.yml@main with: release-type: beta @@ -29,7 +26,7 @@ jobs: secrets: inherit stable: - if: github.event.pull_request.merged == true && github.base_ref == 'main' + if: github.ref == 'refs/heads/main' uses: ConductionNL/.github/.github/workflows/release.yml@main with: release-type: stable