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 = [