From 6e45eb98651557cdf61177124e71f4e924836968 Mon Sep 17 00:00:00 2001 From: "Florian Rusch (ZF Friedrichshafen AG)" Date: Fri, 10 Feb 2023 10:44:07 +0100 Subject: [PATCH] Support also support releases in ci pipeline --- .github/workflows/publish-new-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index d10185c72..7003d6fe1 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -5,6 +5,7 @@ on: pull_request: branches: - main + - support/* types: - closed @@ -186,6 +187,7 @@ jobs: cache: 'maven' - name: Merge main back into develop and set new snapshot version + if: github.event.pull_request.base.ref == 'main' run: | # Prepare git env git config user.name "GitHub actions"