File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,12 @@ name: Build
22
33on :
44 push :
5- branches : ["master"]
5+ branches :
6+ - " master"
7+ - " feat/**"
8+ - " fix/**"
9+ tags :
10+ - " v*.*.*" # Semantic version tags
611 pull_request :
712 branches : ["master"]
813
@@ -118,6 +123,12 @@ jobs:
118123 # Build guest programs in parallel using matrix
119124 build-guest :
120125 runs-on : ubuntu-latest
126+ # Run on main branches, release branches, or when explicitly requested
127+ if : |
128+ github.ref == 'refs/heads/master' ||
129+ startsWith(github.ref, 'refs/heads/release/') ||
130+ startsWith(github.ref, 'refs/tags/v') ||
131+ contains(github.event.pull_request.labels.*.name, 'full-build')
121132 strategy :
122133 matrix :
123134 guest : [
@@ -182,4 +193,3 @@ jobs:
182193 name : all-guests
183194 path : output/
184195 retention-days : 7
185-
You can’t perform that action at this time.
0 commit comments