Skip to content

Commit df1c594

Browse files
authored
ci/github-script/check-target-branch: fix kernel exemption logic (NixOS#487799)
2 parents 260e442 + e3f053a commit df1c594

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ci/github-script/check-target-branch.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ async function checkTargetBranch({ github, context, core, dry }) {
122122
].join('\n'),
123123
)
124124

125-
if (maxRebuildCount >= 1000 && !isExemptHomeAssistantUpdate) {
125+
if (
126+
maxRebuildCount >= 1000 &&
127+
!isExemptHomeAssistantUpdate &&
128+
!isExemptKernelUpdate
129+
) {
126130
const desiredBranch =
127131
base === 'master' ? 'staging' : `staging-${split(base).version}`
128132
const body = [

0 commit comments

Comments
 (0)