We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6195004 commit b4dc957Copy full SHA for b4dc957
1 file changed
.github/workflows/build.yml
@@ -2,7 +2,12 @@ name: Build
2
3
on:
4
push:
5
- branches: ["master"]
+ branches:
6
+ - "master"
7
+ - "feat/**"
8
+ - "fix/**"
9
+ tags:
10
+ - "v*.*.*" # Semantic version tags
11
pull_request:
12
branches: ["master"]
13
@@ -118,6 +123,12 @@ jobs:
118
123
# Build guest programs in parallel using matrix
119
124
build-guest:
120
125
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')
121
132
strategy:
122
133
matrix:
134
guest: [
@@ -182,4 +193,3 @@ jobs:
182
193
name: all-guests
183
194
path: output/
184
195
retention-days: 7
185
-
0 commit comments