Skip to content

Commit

Permalink
fix: don't pin monorepo groups (#11688)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Sep 12, 2021
1 parent 5e2a615 commit 050b6a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/config/presets/index.spec.ts
Expand Up @@ -601,6 +601,12 @@ Object {
"monorepo:opentelemetry-js",
],
"groupName": "opentelemetry-js monorepo",
"matchUpdateTypes": Array [
"digest",
"patch",
"minor",
"major",
],
},
],
}
Expand Down
3 changes: 3 additions & 0 deletions lib/config/presets/internal/group.ts
@@ -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',
Expand Down Expand Up @@ -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`,
},
],
Expand Down

0 comments on commit 050b6a9

Please sign in to comment.