Skip to content

Commit d0235df

Browse files
committed
ci(check): execute checks and release for version branches
1 parent 9a285ea commit d0235df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ permissions:
44
pull-requests: write
55
on:
66
push:
7-
branches: [main]
7+
branches:
8+
- main
9+
- v*
810
pull_request:
911
workflow_dispatch:
1012
env:
@@ -118,7 +120,6 @@ jobs:
118120
if: |
119121
github.repository == 'edeneast/tuxmux'
120122
&& (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
121-
&& github.ref_name == 'main'
122123
outputs:
123124
release_created: ${{ steps.release.outputs.release_created }}
124125
tag_name: ${{ steps.release.outputs.tag_name }}
@@ -129,3 +130,4 @@ jobs:
129130
token: ${{ secrets.GITHUB_TOKEN }}
130131
config-file: .github/release-please-config.json
131132
manifest-file: .github/release-please-manifest.json
133+
target-branch: ${{ github.ref_name }}

0 commit comments

Comments
 (0)