mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
ea5da5202c
commit
1c3e149546
8 changed files with 196 additions and 63 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue