diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts index f09bb7a68c185e70633050a9e47c110f56d84ea9..04c17d2cb5aa4d7607b7a1ee354606da16612967 100644 --- a/lib/config/presets/internal/workarounds.ts +++ b/lib/config/presets/internal/workarounds.ts @@ -9,6 +9,7 @@ export const presets: Record<string, Preset> = { 'workarounds:mavenCommonsAncientVersion', 'workarounds:ignoreSbtLatestIntegration', 'workarounds:ignoreSpringCloudNumeric', + 'workarounds:ignoreHttp4sDigestMilestones', ], }, mavenCommonsAncientVersion: { @@ -40,4 +41,14 @@ export const presets: Record<string, Preset> = { }, ], }, + ignoreHttp4sDigestMilestones: { + description: 'Ignore http4s digest-based 1.x milestones', + packageRules: [ + { + managers: ['sbt'], + packagePatterns: ['^org\\.http4s:'], + allowedVersions: `!/^1\\.0-\\d+-[a-fA-F0-9]{7}$/`, + }, + ], + }, };