Skip to content

Commit 6924eda

Browse files
committed
chore(deps): simplify Dependabot configuration and ignore old libp2p packages
1 parent 099810e commit 6924eda

File tree

1 file changed

+3
-84
lines changed

1 file changed

+3
-84
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ────────────────────────────────────────────────────────────────
22
# Dependabot Configuration
3-
# Repo: mrz1836/<repo>
43
#
54
# Purpose:
65
# • Keep Go modules, GitHub Actions and DevContainer images/features
@@ -40,88 +39,8 @@ updates:
4039
allow:
4140
- dependency-type: "direct"
4241
ignore:
43-
# Prevent Dependabot from considering ancient +incompatible versions
4442
- dependency-name: "github.com/libp2p/go-libp2p"
45-
update-types: ["version-update:semver-major"]
46-
47-
# Ignore old libp2p standalone packages (wildcards to catch all variants)
48-
- dependency-name: "github.com/libp2p/go-libp2p-peerstore*"
49-
- dependency-name: "github.com/libp2p/go-tcp-transport*"
50-
- dependency-name: "github.com/libp2p/go-ws-transport*"
51-
- dependency-name: "github.com/libp2p/go-conn-security*"
52-
- dependency-name: "github.com/libp2p/go-libp2p-swarm*"
53-
- dependency-name: "github.com/libp2p/go-libp2p-transport*"
54-
- dependency-name: "github.com/libp2p/go-libp2p-nat*"
55-
- dependency-name: "github.com/libp2p/go-libp2p-host*"
56-
- dependency-name: "github.com/libp2p/go-libp2p-net*"
57-
- dependency-name: "github.com/libp2p/go-libp2p-protocol*"
58-
- dependency-name: "github.com/libp2p/go-libp2p-interface*"
59-
- dependency-name: "github.com/libp2p/go-libp2p-metrics*"
60-
- dependency-name: "github.com/libp2p/go-libp2p-loggables*"
61-
- dependency-name: "github.com/libp2p/go-libp2p-circuit*"
62-
- dependency-name: "github.com/libp2p/go-libp2p-crypto*"
63-
- dependency-name: "github.com/libp2p/go-libp2p-peer*"
64-
- dependency-name: "github.com/libp2p/go-libp2p-secio*"
65-
- dependency-name: "github.com/libp2p/go-stream-muxer*"
66-
- dependency-name: "github.com/libp2p/go-maddr-filter*"
67-
- dependency-name: "github.com/libp2p/go-mplex*"
68-
- dependency-name: "github.com/whyrusleeping/go-smux*"
69-
groups:
70-
security-deps:
71-
patterns:
72-
- "*crypto*"
73-
- "*security*"
74-
- "*auth*"
75-
- "*jwt*"
76-
- "*oauth*"
77-
update-types: ["minor", "patch"]
78-
open-pull-requests-limit: 10
79-
assignees: ["mrz1836"]
80-
labels: ["chore", "dependencies", "gomod"]
81-
commit-message:
82-
prefix: "chore"
83-
include: "scope"
84-
85-
# ──────────────────────────────────────────────────────────────
86-
# 2. Go Modules (go.mod / go.sum)
87-
# ──────────────────────────────────────────────────────────────
88-
- package-ecosystem: "gomod"
89-
directory: "/example/"
90-
target-branch: "main"
91-
schedule:
92-
interval: "weekly"
93-
day: "monday"
94-
time: "09:00"
95-
timezone: "America/New_York"
96-
allow:
97-
- dependency-type: "direct"
98-
ignore:
99-
# Prevent Dependabot from considering ancient +incompatible versions
100-
- dependency-name: "github.com/libp2p/go-libp2p"
101-
update-types: ["version-update:semver-major"]
102-
103-
# Ignore old libp2p standalone packages (wildcards to catch all variants)
104-
- dependency-name: "github.com/libp2p/go-libp2p-peerstore*"
105-
- dependency-name: "github.com/libp2p/go-tcp-transport*"
106-
- dependency-name: "github.com/libp2p/go-ws-transport*"
107-
- dependency-name: "github.com/libp2p/go-conn-security*"
108-
- dependency-name: "github.com/libp2p/go-libp2p-swarm*"
109-
- dependency-name: "github.com/libp2p/go-libp2p-transport*"
110-
- dependency-name: "github.com/libp2p/go-libp2p-nat*"
111-
- dependency-name: "github.com/libp2p/go-libp2p-host*"
112-
- dependency-name: "github.com/libp2p/go-libp2p-net*"
113-
- dependency-name: "github.com/libp2p/go-libp2p-protocol*"
114-
- dependency-name: "github.com/libp2p/go-libp2p-interface*"
115-
- dependency-name: "github.com/libp2p/go-libp2p-metrics*"
116-
- dependency-name: "github.com/libp2p/go-libp2p-loggables*"
117-
- dependency-name: "github.com/libp2p/go-libp2p-circuit*"
118-
- dependency-name: "github.com/libp2p/go-libp2p-crypto*"
119-
- dependency-name: "github.com/libp2p/go-libp2p-peer*"
120-
- dependency-name: "github.com/libp2p/go-libp2p-secio*"
121-
- dependency-name: "github.com/libp2p/go-stream-muxer*"
122-
- dependency-name: "github.com/libp2p/go-maddr-filter*"
123-
- dependency-name: "github.com/libp2p/go-mplex*"
124-
- dependency-name: "github.com/whyrusleeping/go-smux*"
43+
versions: ["v6.0.23+incompatible"]
12544
groups:
12645
security-deps:
12746
patterns:
@@ -139,7 +58,7 @@ updates:
13958
include: "scope"
14059

14160
# ──────────────────────────────────────────────────────────────
142-
# 3. GitHub Actions Workflows
61+
# 2. GitHub Actions Workflows
14362
# ──────────────────────────────────────────────────────────────
14463
- package-ecosystem: "github-actions"
14564
directory: "/"
@@ -162,7 +81,7 @@ updates:
16281
include: "scope"
16382

16483
# ──────────────────────────────────────────────────────────────
165-
# 4. DevContainer (devcontainer.json : base image + features)
84+
# 3. DevContainer (devcontainer.json : base image + features)
16685
# ──────────────────────────────────────────────────────────────
16786
- package-ecosystem: "devcontainers"
16887
directory: "/"

0 commit comments

Comments
 (0)