Skip to content

Commit 17feec7

Browse files
authored
fix: release only in main branch
1 parent 0d76b81 commit 17feec7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ jobs:
212212
runs-on: ubuntu-latest
213213
name: release
214214
needs: build
215+
if: github.ref == 'refs/heads/main'
215216

216217
env:
217218
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)