From d0235df340754b9ca090fd84cb529799fe02d9d9 Mon Sep 17 00:00:00 2001 From: EdenEast Date: Mon, 16 Sep 2024 19:01:30 -0400 Subject: [PATCH] ci(check): execute checks and release for version branches --- .github/workflows/check.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 59af534..25d7563 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -4,7 +4,9 @@ permissions: pull-requests: write on: push: - branches: [main] + branches: + - main + - v* pull_request: workflow_dispatch: env: @@ -118,7 +120,6 @@ jobs: if: | github.repository == 'edeneast/tuxmux' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') - && github.ref_name == 'main' outputs: release_created: ${{ steps.release.outputs.release_created }} tag_name: ${{ steps.release.outputs.tag_name }} @@ -129,3 +130,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} config-file: .github/release-please-config.json manifest-file: .github/release-please-manifest.json + target-branch: ${{ github.ref_name }}