Skip to content

Commit 36a9111

Browse files
Add Dependabot config for .NET, NuGet, and GitHub Actions
Introduced a Dependabot configuration to automate dependency updates for `.NET SDK`, `NuGet` packages, and `GitHub Actions`. - Added `version: 2` to specify the configuration version. - Configured `.NET SDK` updates to run weekly on Tuesdays with a limit of 1 open pull request. - Configured `NuGet` updates to run weekly on Sundays with a limit of 3 open pull requests, grouping dependencies by patterns (e.g., `microsoft-sbom`, `testcontainers`, etc.). - Configured `GitHub Actions` updates to run weekly on Sundays with a limit of 3 open pull requests. - Disabled the `rebase-strategy` for `NuGet` and `GitHub Actions`. Signed-off-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>
1 parent d277b9d commit 36a9111

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/dependabot.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 2
2+
updates:
3+
# https://devblogs.microsoft.com/dotnet/using-dependabot-to-manage-dotnet-sdk-updates/
4+
- package-ecosystem: "dotnet-sdk"
5+
directory: /
6+
schedule:
7+
interval: "weekly"
8+
day: "tuesday"
9+
open-pull-requests-limit: 1
10+
11+
# NuGet package updates
12+
- package-ecosystem: nuget
13+
directory: /
14+
schedule:
15+
interval: "weekly"
16+
day: "sunday"
17+
open-pull-requests-limit: 3
18+
rebase-strategy: disabled
19+
groups:
20+
microsoft-sbom:
21+
patterns: ['Microsoft.Sbom.Targets']
22+
Microsoft.NET.Test.Sdk:
23+
patterns: ['Microsoft.NET.Test.Sdk']
24+
testcontainers:
25+
patterns: [ 'Testcontainers', 'Testcontainers.*']
26+
microsoft:
27+
patterns: [Microsoft.*, System.*]
28+
xunit:
29+
patterns: [xunit.*]
30+
all-dependencies:
31+
patterns: ['*']
32+
33+
# Github Actions updates
34+
- package-ecosystem: github-actions
35+
directory: /
36+
schedule:
37+
interval: "weekly"
38+
day: "sunday"
39+
open-pull-requests-limit: 3
40+
rebase-strategy: disabled

0 commit comments

Comments
 (0)