We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f25a23 commit 853f895Copy full SHA for 853f895
.github/workflows/release.yml
@@ -4,14 +4,11 @@ on:
4
pull_request:
5
types:
6
- closed
7
- branches:
8
- - release/**
9
- - prerelease/**
10
11
jobs:
12
release:
13
name: Release
14
- if: ${{ github.event.pull_request.merged }}
+ if: ${{ github.event.pull_request.merged }} && (startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'prerelease/'))
15
runs-on: ubuntu-latest
16
steps:
17
- uses: actions/checkout@v2
0 commit comments