Skip to content

Commit 5b800ca

Browse files
Skip pinned NuGet packages
This lets us use `Version="[1.2.3,)"` syntax which is equivalent to `Version="1.2.3"` to tell Renovate to not update a specific dependency.
1 parent 3c469ed commit 5b800ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"matchManagers": ["nuget"],
3636
"addLabels": [".NET"]
3737
},
38+
{
39+
"description": ["Skip pinned NuGet package versions"],
40+
"matchManagers": ["nuget"],
41+
"matchCurrentValue": "^\\[[^,]+,\\)$",
42+
"enabled": false
43+
},
3844
{
3945
"extends": ["monorepo:dotnet"],
4046
"description": "Disable major version updates for .NET",

0 commit comments

Comments
 (0)