ci/github-script/check-target-branch: fix kernel exemption logic (#487799)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user