Merge pull request #300 from ryantm/increase-master-max-rebuilds

update: Increase maximum number of rebuilds to 500
This commit is contained in:
Ryan Mulligan 2022-03-27 19:21:31 -07:00 committed by GitHub
commit 43d2113dbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ rebuilds and list some of the attrpaths that would need to be rebuilt.
## PRs against staging
If a PR merge would cause more than 100 packages to be rebuilt, the PR
If a PR merge would cause more than 500 packages to be rebuilt, the PR
is made against staging.

View File

@ -363,7 +363,7 @@ updateAttrPath log mergeBase updateEnv@UpdateEnv {..} attrPath = do
else Outpaths.outpathReport opDiff
let prBase =
flip fromMaybe skipOutpathBase
if Outpaths.numPackageRebuilds opDiff < 100
if Outpaths.numPackageRebuilds opDiff <= 500
then "master"
else "staging"
publishPackage log updateEnv' oldSrcUrl newSrcUrl attrPath result opReport prBase rewriteMsgs