Skip to content

Commit 32788ea

Browse files
committed
fix ci/release actions
1 parent 3cc0156 commit 32788ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ permissions:
66
on:
77
push:
88
branches: [ main ]
9-
tags: [ 'v*', '*']
9+
tags:
10+
# Run on all tags except for release tags (e.g. v1.2.3)
11+
- '!v[0-9]+.[0-9]+.[0-9]+'
1012
pull_request:
1113
branches: [ main ]
1214

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# This workflow will run only when you push a tag that starts with 'v'
66
# For example: v1.2.1, v1.3.0, etc.
77
tags:
8-
- 'v*.*.*'
8+
- 'v[0-9]+.[0-9]+.[0-9]+'
99

1010
permissions:
1111
contents: write

0 commit comments

Comments
 (0)