-
Notifications
You must be signed in to change notification settings - Fork 101
/
dependabot.template.yml
57 lines (56 loc) · 1.67 KB
/
dependabot.template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#! Use https://carvel.dev/ytt/ to generate this template.
#! Either use the "Regenerate dependabot.yml" task in Codespaces, or run the following command:
#! > ytt -f .github/dependabot.template.yml > .github/dependabot.yml
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "main"
#@ for branch in ["main", "release/7.x", "release/7.2", "release/6.x"]:
#@ commit_prefix = "[" + branch + "] "
- package-ecosystem: "nuget"
directory: "/eng/dependabot"
schedule:
interval: "daily"
target-branch: #@ branch
ignore:
- dependency-name: "Microsoft.Extensions.*"
update-types: [ "version-update:semver-major" ]
commit-message:
prefix: #@ commit_prefix
groups:
azure-storage-dependencies:
patterns:
- "Azure.Storage.*"
identity-dependencies:
patterns:
- "Azure.Identity"
- "Microsoft.Identity.*"
- "Microsoft.IdentityModel.*"
- package-ecosystem: "nuget"
directory: "/eng/dependabot/nuget.org"
schedule:
interval: "daily"
target-branch: #@ branch
commit-message:
prefix: #@ commit_prefix
#@ for tfm in ["net7.0", "net6.0", "netcoreapp3.1"]:
- package-ecosystem: "nuget"
directory: #@ "/eng/dependabot/" + tfm
schedule:
interval: "daily"
target-branch: #@ branch
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
commit-message:
prefix: #@ commit_prefix
groups:
runtime-dependencies:
patterns:
- "Microsoft.Extensions.*"
- "Microsoft.NETCore.App.Runtime.*"
#@ end
#@ end