Skip to content

Commit 7500406

Browse files
Add Dependabot configuration for automated dependency updates
Co-authored-by: eiriktsarpalis <[email protected]>
1 parent 947fab9 commit 7500406

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.github/dependabot.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Configuration for Dependabot automatic dependency updates
2+
# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+
4+
version: 2
5+
updates:
6+
# Monitor NuGet packages
7+
- package-ecosystem: "nuget"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "monday"
12+
time: "06:00"
13+
# Group Microsoft packages together to reduce PR noise
14+
groups:
15+
microsoft-extensions:
16+
patterns:
17+
- "Microsoft.Extensions.*"
18+
microsoft-aspnetcore:
19+
patterns:
20+
- "Microsoft.AspNetCore.*"
21+
microsoft-identity:
22+
patterns:
23+
- "Microsoft.IdentityModel.*"
24+
microsoft-build-tools:
25+
patterns:
26+
- "Microsoft.SourceLink.*"
27+
- "Microsoft.NET.Test.Sdk"
28+
- "Microsoft.Bcl.*"
29+
system-packages:
30+
patterns:
31+
- "System.*"
32+
opentelemetry:
33+
patterns:
34+
- "OpenTelemetry.*"
35+
serilog:
36+
patterns:
37+
- "Serilog.*"
38+
testing:
39+
patterns:
40+
- "xunit.*"
41+
- "coverlet.*"
42+
- "GitHubActionsTestLogger"
43+
- "Moq"
44+
# Limit the number of open pull requests for NuGet to 10
45+
open-pull-requests-limit: 10
46+
# Add labels to dependency update PRs
47+
labels:
48+
- "dependencies"
49+
- "nuget"
50+
51+
# Monitor GitHub Actions
52+
- package-ecosystem: "github-actions"
53+
directory: "/"
54+
schedule:
55+
interval: "weekly"
56+
day: "monday"
57+
time: "06:00"
58+
# Limit the number of open pull requests for GitHub Actions to 5
59+
open-pull-requests-limit: 5
60+
# Add labels to GitHub Actions update PRs
61+
labels:
62+
- "dependencies"
63+
- "github-actions"

0 commit comments

Comments
 (0)