-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathdependabot.yml
More file actions
68 lines (67 loc) · 2.46 KB
/
Copy pathdependabot.yml
File metadata and controls
68 lines (67 loc) · 2.46 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
61
62
63
64
65
66
67
68
# Dependabot configuration (ENG-1234).
#
# NOTE ON `target-branch` — deliberately absent.
#
# PRs in this repo normally branch from `staging` and target `staging`, so
# pointing Dependabot at `staging` looks like the obvious thing to do. It is not:
# Dependabot *security* updates only run against the default branch, and GitHub's
# docs state that for security updates "you should not specify a target-branch".
# Setting it would silence the security PRs this repo actually relies on (7 open
# alerts when this file was written).
#
# The consequence is that security PRs arrive based on `main`. Merge them into
# `main` and let the weekly sync carry them into `staging` — do NOT retarget them
# at `staging`. Retargeting is what caused anton#293, where a postcss bump in
# /docs reverted merged verifier code in `anton/core/session.py`: the branch came
# from `main`, `staging` had moved on, and the resulting conflict was resolved by
# keeping both sides.
#
# This file does not prevent that on its own — the CI scope guard in ENG-1234
# does. What it buys is explicit ecosystems, grouping, PR limits and labels
# instead of defaults.
#
# Python is intentionally not listed. `uv` is not a valid package-ecosystem
# value, and running `pip` against a uv.lock project risks PRs that edit
# pyproject.toml without regenerating the lock. Tracked in ENG-1234.
version: 2
updates:
# Docs site (Docusaurus). Dev-only — these packages are not shipped in the
# anton wheel, which is why the blast radius of anton#293 was zero.
- package-ecosystem: npm
directory: /docs
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 5
labels:
- dependencies
- javascript
commit-message:
prefix: "chore(deps)"
prefix-development: "chore(deps-dev)"
# One PR per batch of routine bumps rather than one per package. Security
# updates are unaffected by grouping and still arrive individually.
groups:
docs-minor-and-patch:
patterns:
- "*"
update-types:
- minor
- patch
# Workflow actions. Pinned action versions rot quietly and are a supply-chain
# surface, so keep them current.
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 5
labels:
- dependencies
- github-actions
commit-message:
prefix: "chore(ci)"
groups:
actions:
patterns:
- "*"