Skip to content

Commit 1ccdbd8

Browse files
phn-mspsmulovics
andauthored
Refactor Dependabot NuGet config with globs and cleanup (#1247)
* Use consistent single quotes in dependabot.yml Update dependabot.yml to use single quotes for dependency names, version patterns, and directory paths. Also, standardize YAML list formatting for version arrays. These stylistic changes improve consistency and readability without affecting functionality. * Refactor Dependabot NuGet config with globs and cleanup Refactored the Dependabot configuration for NuGet to use the directories key with glob patterns, reducing duplication and simplifying management. Updated comments to note glob support. Consolidated and expanded the ignore list, including new patterns like System.* and Finos.Fdc3*. Removed the groups section for NuGet dependencies to further streamline the config. npm configuration is unchanged. * Remove ModulesPrototype from Dependabot NuGet updates The directory /prototypes/multi-module-prototype/examples/multi-module-example/ModulesPrototype was excluded from Dependabot's NuGet monitoring. All other Dependabot configuration settings remain unchanged. --------- Co-authored-by: Peter Smulovics <psmulovics@users.noreply.github.com>
1 parent f9953e9 commit 1ccdbd8

1 file changed

Lines changed: 7 additions & 139 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -14,141 +14,20 @@ registries:
1414
token: ${{ secrets.DEPENDABOT_GITHUB_PACKAGES }}
1515

1616
updates:
17-
# Dependabot doesn't support glob syntax. Every solution needs an entry
17+
# Dependabot does support glob syntax.
1818

1919
- package-ecosystem: 'nuget'
20-
directory: '/src/fdc3/dotnet/DesktopAgent/src/DesktopAgent'
21-
schedule:
22-
interval: 'monthly'
23-
ignore:
24-
- dependency-name: 'Finos.Fdc3*'
25-
versions: [ '>=2.1' ]
26-
- dependency-name: 'FluentAssertions*'
27-
versions: [ '>=8.0' ]
28-
- dependency-name: 'Microsoft.Extensions.*'
29-
versions: ['10.*']
30-
groups:
31-
infragistics:
32-
patterns:
33-
- 'Infragistics*'
34-
grpc:
35-
patterns:
36-
- 'Grpc*'
37-
- 'Google.Protobuf*'
38-
codeanalysis:
39-
patterns:
40-
- 'Microsoft.CodeAnalysis*'
41-
42-
- package-ecosystem: 'nuget'
43-
directory: '/src/messaging/dotnet/src/Client'
44-
schedule:
45-
interval: 'monthly'
46-
ignore:
47-
- dependency-name: 'FluentAssertions*'
48-
versions: [ '>=8.0' ]
49-
- dependency-name: 'Microsoft.Extensions.*'
50-
versions: ['10.*']
51-
groups:
52-
infragistics:
53-
patterns:
54-
- 'Infragistics*'
55-
grpc:
56-
patterns:
57-
- 'Grpc*'
58-
- 'Google.Protobuf*'
59-
codeanalysis:
60-
patterns:
61-
- 'Microsoft.CodeAnalysis*'
62-
63-
- package-ecosystem: 'nuget'
64-
directory: '/src/messaging/dotnet/src/Core'
65-
schedule:
66-
interval: 'monthly'
67-
ignore:
68-
- dependency-name: 'FluentAssertions*'
69-
versions: [ '>=8.0' ]
70-
- dependency-name: 'Microsoft.Extensions.*'
71-
versions: ['10.*']
72-
groups:
73-
infragistics:
74-
patterns:
75-
- 'Infragistics*'
76-
grpc:
77-
patterns:
78-
- 'Grpc*'
79-
- 'Google.Protobuf*'
80-
codeanalysis:
81-
patterns:
82-
- 'Microsoft.CodeAnalysis*'
83-
84-
- package-ecosystem: 'nuget'
85-
directory: '/src/messaging/dotnet/src/Host'
86-
schedule:
87-
interval: 'monthly'
88-
ignore:
89-
- dependency-name: 'FluentAssertions*'
90-
versions: [ '>=8.0' ]
91-
- dependency-name: 'Microsoft.Extensions.*'
92-
versions: ['10.*']
93-
groups:
94-
infragistics:
95-
patterns:
96-
- 'Infragistics*'
97-
grpc:
98-
patterns:
99-
- 'Grpc*'
100-
- 'Google.Protobuf*'
101-
codeanalysis:
102-
patterns:
103-
- 'Microsoft.CodeAnalysis*'
104-
105-
- package-ecosystem: 'nuget'
106-
directory: '/src/messaging/dotnet/src/Server'
20+
directories:
21+
- '/src/**/dotnet/**'
10722
schedule:
10823
interval: 'monthly'
10924
ignore:
110-
- dependency-name: 'FluentAssertions*'
111-
versions: [ '>=8.0' ]
112-
- dependency-name: 'Microsoft.Extensions.*'
25+
- dependency-name: 'System.*'
11326
versions: ['10.*']
114-
groups:
115-
infragistics:
116-
patterns:
117-
- 'Infragistics*'
118-
grpc:
119-
patterns:
120-
- 'Grpc*'
121-
- 'Google.Protobuf*'
122-
codeanalysis:
123-
patterns:
124-
- 'Microsoft.CodeAnalysis*'
125-
126-
- package-ecosystem: 'nuget'
127-
directory: '/src/shell/dotnet/Shell'
128-
schedule:
129-
interval: 'monthly'
130-
ignore:
131-
- dependency-name: 'FluentAssertions*'
132-
versions: [ '>=8.0' ]
133-
- dependency-name: 'Microsoft.Extensions.*'
27+
- dependency-name: 'Microsoft.Bcl.AsyncInterfaces.*'
13428
versions: ['10.*']
135-
groups:
136-
infragistics:
137-
patterns:
138-
- 'Infragistics*'
139-
grpc:
140-
patterns:
141-
- 'Grpc*'
142-
- 'Google.Protobuf*'
143-
codeanalysis:
144-
patterns:
145-
- 'Microsoft.CodeAnalysis*'
146-
147-
- package-ecosystem: 'nuget'
148-
directory: '/prototypes/multi-module-prototype/examples/multi-module-example/ModulesPrototype'
149-
schedule:
150-
interval: 'monthly'
151-
ignore:
29+
- dependency-name: 'Finos.Fdc3*'
30+
versions: [ '>=2.1' ]
15231
- dependency-name: 'FluentAssertions*'
15332
versions: [ '>=8.0' ]
15433
- dependency-name: 'Microsoft.Extensions.*'
@@ -165,17 +44,6 @@ updates:
16544
patterns:
16645
- 'Microsoft.CodeAnalysis*'
16746

168-
- package-ecosystem: 'nuget'
169-
directories:
170-
- '/src/**/dotnet/**'
171-
schedule:
172-
interval: 'monthly'
173-
ignore:
174-
- dependency-name: 'System.*'
175-
versions: ['10.*']
176-
- dependency-name: 'Microsoft.Bcl.AsyncInterfaces.*'
177-
versions: ['10.*']
178-
17947
- package-ecosystem: 'npm'
18048
directory: '/'
18149
schedule:

0 commit comments

Comments
 (0)