Skip to content

Commit 853f895

Browse files
committed
Update release triggers
1 parent 3f25a23 commit 853f895

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ on:
44
pull_request:
55
types:
66
- closed
7-
branches:
8-
- release/**
9-
- prerelease/**
107

118
jobs:
129
release:
1310
name: Release
14-
if: ${{ github.event.pull_request.merged }}
11+
if: ${{ github.event.pull_request.merged }} && (startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'prerelease/'))
1512
runs-on: ubuntu-latest
1613
steps:
1714
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)