Skip to content

Commit aa1748a

Browse files
committed
chore: consolidate dependency management to Renovate-only
Replace Dependabot with Renovate for GitHub Actions version updates, matching the approach already used in diracx-charts. Add documentation covering the dependency management strategy across all project repos.
1 parent 4fad58f commit aa1748a

4 files changed

Lines changed: 57 additions & 11 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Dependency management
2+
3+
DiracX uses [Renovate](https://docs.renovatebot.com/) to keep dependencies up to date across its repositories.
4+
All repos share a common baseline configuration with repository-specific rules where needed.
5+
6+
## Shared settings
7+
8+
Every `renovate.json` extends `config:recommended` and sets a **7-day minimum release age**.
9+
The cooldown period reduces exposure to broken or yanked releases — see
10+
[Renovate's *Minimum Release Age* docs](https://docs.renovatebot.com/configuration-options/#minimumreleaseage) for details.
11+
12+
## Per-repository configuration
13+
14+
### diracx
15+
16+
| Dependency type | Manager | Notes |
17+
| ---------------------------------- | ---------------- | ------------------------------------- |
18+
| GitHub Actions | `github-actions` | Grouped into a single PR |
19+
| Python packages (`pyproject.toml`) | `pep621` | Auto-detected by `config:recommended` |
20+
| Dockerfiles | `dockerfile` | Auto-detected by `config:recommended` |
21+
22+
### diracx-charts
23+
24+
| Dependency type | Manager | Notes |
25+
| ------------------------------ | -------------------- | -------------------------------------- |
26+
| GitHub Actions | `github-actions` | Grouped into a single PR |
27+
| Helm chart dependencies | `helmv3` | Requires Dependency Dashboard approval |
28+
| Tool versions in `run_demo.sh` | Custom regex manager | Grouped into a single PR |
29+
30+
### diracx-web
31+
32+
| Dependency type | Manager | Notes |
33+
| --------------- | ---------------- | ------------------------------------- |
34+
| GitHub Actions | `github-actions` | Grouped into a single PR |
35+
| npm packages | `npm` | Auto-detected by `config:recommended` |
36+
37+
## What Renovate does *not* manage
38+
39+
pre-commit hooks
40+
: Managed by [pre-commit.ci](https://pre-commit.ci/), which opens its own update PRs.
41+
42+
Security alerts
43+
: GitHub's Dependabot **security alerts** remain enabled via repository settings.
44+
These are independent of Dependabot *version updates*.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ nav:
169169
- Run demo: dev/explanations/run_demo.md
170170
- Extensions: dev/explanations/extensions.md
171171
- Designing functionality: dev/explanations/designing-functionality.md
172+
- Dependency management: dev/explanations/dependency-management.md
172173
- Reference:
173174
- dev/reference/index.md
174175
- Dev env variables: dev/reference/env-variables.md

renovate.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"minimumReleaseAge": "7 days",
5+
"packageRules": [
6+
{
7+
"description": "Group all GitHub Actions updates together",
8+
"matchManagers": ["github-actions"],
9+
"groupName": "GitHub Actions"
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)