From 3a610ac51ade2fae16e818f486e91155aae81572 Mon Sep 17 00:00:00 2001 From: Benjamin Leggett Date: Fri, 17 Jul 2026 19:14:27 -0400 Subject: [PATCH] fix(ci): auto-rebuild and republish kernels on `main` merge if kconfigs were touched --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/test.yml | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2544671..7957a3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,15 @@ on: # Weekly auto-build schedule: - cron: "0 0 * * 1" + # A merge that changes a kernel config snippet changes the built kernel + # without bumping any version, so republish the release set now rather than + # waiting for the weekly cron. On main the tags carry no branch suffix, so + # this overwrites the canonical release tags with the new config content. + push: + branches: + - main + paths: + - "configs/**" workflow_dispatch: inputs: spec: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5dc1ba0..5a169b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,10 @@ on: push: branches: - main + # Config-snippet merges are built and published by build.yml; skip the + # throwaway publish:false rebuild here so a config merge builds once. + paths-ignore: + - "configs/**" permissions: contents: read packages: read