Skip to content

Commit 0ab7c43

Browse files
committed
zxcac
1 parent 5d7a363 commit 0ab7c43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pull-request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ jobs:
3636
runs-on: ubuntu-latest
3737

3838
outputs:
39-
is-release: ${{ startsWith(github.ref_name, 'release') }}
40-
is-preview: ${{ startsWith(github.ref_name, 'preview') }}
39+
is-release: ${{ startsWith(github.base_ref, 'release') }}
40+
is-preview: ${{ startsWith(github.base_ref , 'preview') }}
4141

4242
steps:
4343
- name: 'Set workflow variables'
4444
id: github
4545
run: |
46-
echo "is-release:${{ startsWith(github.ref_name, 'release') }}"
47-
echo "is-preview:${{ startsWith(github.ref_name, 'preview') }}"
46+
echo "is-release:${{ startsWith(github.base_ref, 'release') }}"
47+
echo "is-preview:${{ startsWith(github.base_ref, 'preview') }}"
4848
4949
versioning:
5050
name: 'Extract version from branch'

0 commit comments

Comments
 (0)