Skip to content

Commit 4ba0bac

Browse files
committed
fix: don't run release workflow on push
1 parent 8ee5618 commit 4ba0bac

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: Release
22

33
on:
4-
push:
5-
branches:
6-
- 'release/**'
74
pull_request:
8-
branches:
9-
- 'release/**'
105
workflow_dispatch:
116

127
env:
@@ -30,6 +25,7 @@ env:
3025

3126
jobs:
3227
macos-release:
28+
if: startsWith(github.head_ref, 'release/')
3329
runs-on: macos-11
3430
steps:
3531
- name: Checkout sources

0 commit comments

Comments
 (0)