Skip to content

Commit d00e7ae

Browse files
Ensure only version branches trigger this
1 parent 436aaee commit d00e7ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/conan_ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ on:
55
- cron: '15 21 * * *'
66
push:
77
branches:
8-
- main
8+
# Match branches with version numbers like 1.2.8, 2.0.0, etc.
9+
- '[0-9]+.[0-9]+.[0-9]+'
910
tags:
10-
- 'v*'
11+
- 'v*' # Tag releases like v1.2.8
1112
pull_request:
1213
branches:
13-
- main
14+
- '[0-9]+.[0-9]+.[0-9]+'
1415

1516
jobs:
1617
build:

0 commit comments

Comments
 (0)