Skip to content

Commit 7e3ac58

Browse files
committed
Enable Python Dependabot coverage with release-age cooldowns
1 parent faf10fd commit 7e3ac58

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,45 @@
11
version: 2
2+
# Ordinary updates wait seven days after release, matching uv's exclude-newer.
3+
# Dependabot security updates bypass this cooldown and the version-update schedule;
4+
# an administrator must enable security updates in the repository settings.
5+
# uv's own exclude-newer policy still applies when resolving a security fix.
6+
# If it blocks an urgent fix, a maintainer must obtain a package-specific exception
7+
# under CONTRIBUTING.md, recording the advisory, fixed version, owner, mitigation,
8+
# approval, and expiry. Temporarily add that package to exclude-newer-package in
9+
# the applicable [tool.uv] / [tool.uv.pip] table using a fixed timestamp just after
10+
# the approved release. Update only the affected dependency and necessary transitives,
11+
# review the diff, and run the required checks. Remove the exception and revalidate
12+
# once the release is seven days old; never disable the global policy for this.
213
updates:
14+
# The root pyproject.toml and uv.lock cover runtime, extras, and development tools.
15+
- package-ecosystem: "uv"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
cooldown:
20+
default-days: 7
21+
open-pull-requests-limit: 5
22+
labels:
23+
- "dependencies"
24+
# These independent requirements files are outside the root lockfile.
25+
# Unpinned requirements do not provide a locked transitive dependency inventory.
26+
- package-ecosystem: "pip"
27+
directories:
28+
- "/examples/realtime/twilio"
29+
- "/examples/realtime/twilio_sip"
30+
schedule:
31+
interval: "weekly"
32+
cooldown:
33+
default-days: 7
34+
open-pull-requests-limit: 5
35+
labels:
36+
- "dependencies"
337
- package-ecosystem: "github-actions"
438
directory: "/"
539
schedule:
640
interval: "monthly"
41+
cooldown:
42+
default-days: 7
743
open-pull-requests-limit: 5
844
labels:
945
- "dependencies"

0 commit comments

Comments
 (0)