From bcc170e72b802a78e7f0a99bc92316a5f8a62b0e 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 28b55f8dc..4a58903ef 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 @@ -807,3 +807,4 @@ name: release push: tags: - v*.*.* + workflow_dispatch: {}