From 5ba236856eb3fd78b46a794b1a17ee626cea7eac Mon Sep 17 00:00:00 2001 From: Eugene Myasyshchev Date: Thu, 5 Dec 2024 09:14:45 +0100 Subject: [PATCH] Handle hotfix branches in a release flow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c965e7f..a486e15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: name: Create Release if: | github.event.pull_request.merged == true && - startsWith(github.event.pull_request.head.ref, 'release/') && + (startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix/')) && !contains(github.event.pull_request.labels.*.name, 'no-build') runs-on: ubuntu-latest