fix: don't pin monorepo groups (#11688)

This commit is contained in:
Rhys Arkins 2021-09-12 15:26:24 +02:00 committed by GitHub
parent 5e2a615332
commit 050b6a9e59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -601,6 +601,12 @@ Object {
"monorepo:opentelemetry-js",
],
"groupName": "opentelemetry-js monorepo",
"matchUpdateTypes": Array [
"digest",
"patch",
"minor",
"major",
],
},
],
}

View file

@ -1,6 +1,8 @@
import type { Preset } from '../types';
import * as monorepos from './monorepo';
const nonPinUpdateTypes = ['digest', 'patch', 'minor', 'major'];
const staticGroups = {
all: {
description: 'Group all updates together',
@ -596,6 +598,7 @@ for (const monorepo of Object.keys(monorepos.presets)) {
{
description: `Group packages from ${monorepo} monorepo together`,
extends: `monorepo:${monorepo}`,
matchUpdateTypes: nonPinUpdateTypes,
groupName: `${monorepo} monorepo`,
},
],