Skip to content
Permalink
Browse files
fix: don't pin monorepo groups (#11688)
  • Loading branch information
rarkins committed Sep 12, 2021
1 parent 5e2a615 commit 050b6a9e5908135808d6aed2a447f23a4040b549
Showing with 9 additions and 0 deletions.
  1. +6 −0 lib/config/presets/index.spec.ts
  2. +3 −0 lib/config/presets/internal/group.ts
@@ -601,6 +601,12 @@ Object {
"monorepo:opentelemetry-js",
],
"groupName": "opentelemetry-js monorepo",
"matchUpdateTypes": Array [
"digest",
"patch",
"minor",
"major",
],
},
],
}
@@ -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`,
},
],

0 comments on commit 050b6a9

Please sign in to comment.