Skip to content

Commit 9fb6cb2

Browse files
refactor: simplify tag patterns in CI workflow
Simplify the tag patterns in the GitHub Actions CI workflow configuration by using wildcards.
1 parent 875a180 commit 9fb6cb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
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: [ master, main ]
9-
tags: [ 'v[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*', 'v[0-9][0-9]*.[0-9][0-9]*.[0-9][0-9]*-[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' ]
9+
tags:
10+
- 'v*.*.*'
11+
- 'v*.*.*-*'
1012
pull_request:
1113
branches: [ master, main ]
1214
workflow_dispatch:

0 commit comments

Comments
 (0)