Skip to content

Commit 322e6b1

Browse files
fix(ci): only trigger release workflow on version tags, not branch pushes
1 parent d29a9bd commit 322e6b1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ name: Release
22

33
on:
44
push:
5-
branches: [main]
65
tags: ['v*.*.*']
76

87
jobs:
98
release:
10-
if: startsWith(github.ref, 'refs/tags/v')
119
runs-on: ubuntu-latest
1210
permissions:
1311
contents: write

0 commit comments

Comments
 (0)