Skip to content

Commit ce7cf61

Browse files
committed
.github: run full build on main branch
Always run full build (flavour) for commits on the main branch. Signed-off-by: Richard Alpe <[email protected]>
1 parent 296d572 commit ce7cf61

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/trigger.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,21 @@ jobs:
1616
with:
1717
target: "x86_64"
1818
name: "infix"
19-
flavor: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main'))
20-
&& fromJSON('null') || '_minimal' }}
19+
flavor: ${{ (
20+
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main'))
21+
|| (github.event_name == 'push' && github.ref_name == 'main')
22+
) && fromJSON('null') || '_minimal' }}
2123

2224
build-aarch64:
2325
if: startsWith(github.repository, 'kernelkit/')
2426
uses: ./.github/workflows/build.yml
2527
with:
2628
target: "aarch64"
2729
name: "infix"
28-
flavor: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main'))
29-
&& fromJSON('null') || '_minimal' }}
30+
flavor: ${{ (
31+
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main'))
32+
|| (github.event_name == 'push' && github.ref_name == 'main')
33+
) && fromJSON('null') || '_minimal' }}
3034

3135
test-run-x86_64:
3236
if: startsWith(github.repository, 'kernelkit/')

0 commit comments

Comments
 (0)