Skip to content

Commit 6afbfce

Browse files
committed
ci: deduplicate Dependabot ecosystem and group routine action bumps
Dependabot's github-actions ecosystem at directory `/` already recursively scans `.github/workflows/` — the second entry pointed at `/.github/workflows` was producing two PRs for every action update. Remove it. Group minor/patch bumps so the weekly Monday run yields one PR per group instead of five for routine actions/* version updates. Major bumps still arrive as individual PRs because they're more likely to need review. This commit also has the side effect of triggering Dependabot's manifest-change re-scan, which is how the previously-closed PRs (left orphaned by the force-push during the v0.1.0 release) get re-created against the current main.
1 parent 2ffd174 commit 6afbfce

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
version: 2
22

33
updates:
4-
# GitHub Actions used in this repo's workflows.
4+
# GitHub Actions. Dependabot's github-actions ecosystem at directory `/`
5+
# already scans `.github/workflows/` recursively — a second entry pointed
6+
# at `/.github/workflows` would duplicate every PR.
57
- package-ecosystem: github-actions
68
directory: /
79
schedule:
@@ -16,19 +18,11 @@ updates:
1618
labels:
1719
- dependencies
1820
- github-actions
19-
20-
# Catches updates to the workflow files under .github/workflows/.
21-
- package-ecosystem: github-actions
22-
directory: /.github/workflows
23-
schedule:
24-
interval: weekly
25-
day: monday
26-
time: "06:00"
27-
timezone: America/New_York
28-
open-pull-requests-limit: 10
29-
commit-message:
30-
prefix: ci
31-
include: scope
32-
labels:
33-
- dependencies
34-
- github-actions
21+
groups:
22+
# Roll patch/minor updates together so we don't get five PRs every
23+
# Monday for routine actions/* version bumps. Majors stay separate.
24+
actions-minor:
25+
applies-to: version-updates
26+
update-types:
27+
- minor
28+
- patch

0 commit comments

Comments
 (0)