From a188f4269d148edc5c73142eb50558ec0ca44b61 Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Tue, 2 Sep 2025 13:14:39 +0200 Subject: [PATCH 1/2] .github: only run _minimal build for PRs PRs which doesn't have the label ci:main. Signed-off-by: Richard Alpe --- .github/workflows/trigger.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index 819e0b09..2b301d96 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -15,21 +15,21 @@ jobs: uses: ./.github/workflows/build.yml with: name: "infix" - target: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main')) && 'x86_64' || 'x86_64_minimal' }} + target: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:main') && 'x86_64_minimal' || 'x86_64' }} build-aarch64: if: startsWith(github.repository, 'kernelkit/') uses: ./.github/workflows/build.yml with: name: "infix" - target: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main')) && 'aarch64' || 'aarch64_minimal' }} + target: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:main') && 'aarch64_minimal' || 'aarch64' }} test-run-x86_64: if: startsWith(github.repository, 'kernelkit/') needs: build-x86_64 uses: ./.github/workflows/test.yml with: - target: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:main')) && 'x86_64' || 'x86_64_minimal' }} + target: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:main') && 'x86_64_minimal' || 'x86_64' }} name: "infix" test-publish-x86_64: From 17df77ca0fec94b8e7ef6f7137ba134f62db138e Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Tue, 2 Sep 2025 13:16:05 +0200 Subject: [PATCH 2/2] .github: rename ci work branch This branch can be used to test push events which is especially useful when working on the CI infrastructure. Signed-off-by: Richard Alpe --- .github/workflows/trigger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index 2b301d96..c0db755f 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -6,7 +6,7 @@ on: push: branches: - main - - ci-workflow-redesign + - ci-work workflow_dispatch: jobs: