From 017f34707a74dac1906dc4a16b407990b4bfbcc8 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Thu, 26 Sep 2024 13:01:39 -0400 Subject: [PATCH] Allow testing release.yml changes on pre-releases before merging (#1393) ### Proposed changes Similar to how master.yml works, this change allows to trigger release.yml manually and point it to a WIP branch. This will help us out to test alpha releases and changes to the release workflow for the 3.x.x series. ### Related issues (optional) --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 099e49103..cb843d439 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ env: DOTNETVERSION: "6.x" PYTHONVERSION: "3.8" JAVAVERSION: "11" - IS_PRERELEASE: ${{ contains(github.ref_name,'-') }} + IS_PRERELEASE: ${{ contains(github.ref_name,'-') || github.event_name == 'workflow_dispatch' }} jobs: lint: name: Lint and unit test @@ -600,3 +600,4 @@ name: release push: tags: - v*.*.* + workflow_dispatch: {}