From e3f053a65da0356f3c84b218e41830f003834e76 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Fri, 6 Feb 2026 18:59:41 -0500 Subject: [PATCH] ci/github-script/check-target-branch: fix kernel exemption logic Erroneously failed to exempt because I left out an if condition. --- ci/github-script/check-target-branch.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/github-script/check-target-branch.js b/ci/github-script/check-target-branch.js index 47e36b9cb3f6..46101adcf200 100644 --- a/ci/github-script/check-target-branch.js +++ b/ci/github-script/check-target-branch.js @@ -122,7 +122,11 @@ async function checkTargetBranch({ github, context, core, dry }) { ].join('\n'), ) - if (maxRebuildCount >= 1000 && !isExemptHomeAssistantUpdate) { + if ( + maxRebuildCount >= 1000 && + !isExemptHomeAssistantUpdate && + !isExemptKernelUpdate + ) { const desiredBranch = base === 'master' ? 'staging' : `staging-${split(base).version}` const body = [