Repository navigation
Expand file tree
/
Copy pathdependabot.yml
More file actions
60 lines (58 loc) · 2.04 KB
/
Copy pathdependabot.yml
File metadata and controls
60 lines (58 loc) · 2.04 KB
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
58
59
60
# Dependabot version updates.
#
# Security updates are enabled separately in repository settings and fire on
# advisories regardless of this file. This config covers routine version
# drift, so a dependency is current before it becomes a CVE.
#
# Every ecosystem sets a cooldown. A compromised release is most dangerous in
# the hours after publication, and registry takeovers are usually caught and
# yanked within days. Waiting before proposing a bump costs nothing here and
# keeps a poisoned version from landing in a PR that looks routine.
version: 2
# No target-branch key. Dependabot follows the default branch, which is `integration`,
# so both routine and security updates land there and never meet the base-branch guard.
# Setting target-branch would make this depend on undocumented security-update targeting
# behavior for no benefit.
updates:
# GitHub Actions run with write access to the repository. Actions are pinned
# to commit SHAs in the workflows, and Dependabot understands SHA pins and
# updates them along with the version comment.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
cooldown:
default-days: 7
open-pull-requests-limit: 5
commit-message:
prefix: "ci"
labels:
- "dependencies"
- "github-actions"
# Python dependencies resolved through uv.lock. The only runtime surface is
# the documentation build and the version-sync script.
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
cooldown:
default-days: 7
open-pull-requests-limit: 5
commit-message:
prefix: "deps"
labels:
- "dependencies"
- "python"
groups:
# Patch and minor bumps for the docs toolchain land as one PR. Majors
# stay separate, since mkdocs-material majors have broken builds before.
docs-toolchain:
patterns:
- "mkdocs*"
- "mike"
- "pymdown-extensions"
update-types:
- "minor"
- "patch"