Reapply {ci,workflows}: allow multiple blocking reviews"

A couple of bugfixes, but the problem was that the apps weren't installed.
This commit is contained in:
Michael Daniels 2026-05-03 13:25:18 -04:00
commit 1c3e149546
No known key found for this signature in database
8 changed files with 196 additions and 63 deletions

View file

@ -151,11 +151,9 @@ async function checkTargetBranch({ github, context, core, dry }) {
core,
dry,
body,
event: 'COMMENT',
event: 'REQUEST_CHANGES',
reviewKey,
})
throw new Error('This PR is against the wrong branch.')
} else if (rebuildsAllTests && !isExemptKernelUpdate) {
let branchText
if (base === 'master' && maxRebuildCount >= 500) {
@ -179,11 +177,9 @@ async function checkTargetBranch({ github, context, core, dry }) {
core,
dry,
body,
event: 'COMMENT',
event: 'REQUEST_CHANGES',
reviewKey,
})
throw new Error('This PR is against the wrong branch.')
} else if (
maxRebuildCount >= 500 &&
!isExemptKernelUpdate &&
@ -204,7 +200,7 @@ async function checkTargetBranch({ github, context, core, dry }) {
core,
dry,
body,
event: 'COMMENT',
event: 'REQUEST_CHANGES',
reviewKey,
})
} else {