mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ci/github-script/check-target-branch: fix kernel exemption logic
Erroneously failed to exempt because I left out an if condition.
This commit is contained in:
parent
16f9cd995c
commit
e3f053a65d
1 changed files with 5 additions and 1 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue