File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change 5
5
# documentation: https://docs.github.com/code-security/dependabot/dependabot-version-updates
6
6
# schema documentation: https://docs.github.com/code-security/dependabot/working-with-dependabot/dependabot-options-reference
7
7
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
8
+ #
9
+ # Dependabot allows only one schedule per package-ecosystem, directory, and target-branch.
10
+ # Configurations that lack a "target-branch" field also affect security updates.
11
+ #
12
+ # There is a hack to have *two* schedules: https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219
8
13
---
9
14
version : 2
10
15
updates :
11
16
- package-ecosystem : github-actions
12
17
directories :
18
+ # "/" is a special case that includes ".github/workflows/*"
13
19
- ' /'
14
20
- ' .github/actions/*'
15
21
schedule :
16
22
interval : weekly
17
23
day : tuesday
24
+ labels :
25
+ - dependencies
26
+ groups :
27
+ # Group security updates into one pull request
28
+ action-vulnerabilities :
29
+ applies-to : security-updates
30
+ patterns : ['*']
31
+
32
+ # Group version updates into one pull request
33
+ github-actions :
34
+ applies-to : version-updates
35
+ patterns : ['*']
36
+
37
+ - package-ecosystem : gomod
38
+ directory : ' /'
39
+ schedule :
40
+ interval : weekly
41
+ day : wednesday
42
+ labels :
43
+ - dependencies
18
44
groups :
19
- all-github-actions :
45
+ # Group security updates into one pull request
46
+ go-vulnerabilities :
47
+ applies-to : security-updates
48
+ patterns : ['*']
49
+
50
+ # Group Kubernetes and OpenTelemetry version updates into separate pull requests
51
+ kubernetes :
52
+ patterns : ['k8s.io/*', 'sigs.k8s.io/*']
53
+ opentelemetry :
54
+ patterns : ['go.opentelemetry.io/*']
55
+ go-dependencies :
20
56
patterns : ['*']
57
+ exclude-patterns :
58
+ - ' k8s.io/*'
59
+ - ' sigs.k8s.io/*'
60
+ - ' go.opentelemetry.io/*'
You can’t perform that action at this time.
0 commit comments