Skip to content

Commit 54c9745

Browse files
committed
chore(deps): update dependabot configuration for Go modules
Added Go modules configuration for the /example/ directory to ensure weekly updates for direct dependencies, including security patterns and commit message prefixing.
1 parent 20861fe commit 54c9745

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

.github/dependabot.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,36 @@ updates:
5656
include: "scope"
5757

5858
# ──────────────────────────────────────────────────────────────
59-
# 2. GitHub Actions Workflows
59+
# 2. Go Modules (go.mod / go.sum)
60+
# ──────────────────────────────────────────────────────────────
61+
- package-ecosystem: "gomod"
62+
directory: "/example/"
63+
target-branch: "master"
64+
schedule:
65+
interval: "weekly"
66+
day: "monday"
67+
time: "09:00"
68+
timezone: "America/New_York"
69+
allow:
70+
- dependency-type: "direct"
71+
groups:
72+
security-deps:
73+
patterns:
74+
- "*crypto*"
75+
- "*security*"
76+
- "*auth*"
77+
- "*jwt*"
78+
- "*oauth*"
79+
update-types: ["minor", "patch"]
80+
open-pull-requests-limit: 10
81+
assignees: ["mrz1836"]
82+
labels: ["chore", "dependencies", "gomod"]
83+
commit-message:
84+
prefix: "chore"
85+
include: "scope"
86+
87+
# ──────────────────────────────────────────────────────────────
88+
# 3. GitHub Actions Workflows
6089
# ──────────────────────────────────────────────────────────────
6190
- package-ecosystem: "github-actions"
6291
directory: "/"
@@ -79,7 +108,7 @@ updates:
79108
include: "scope"
80109

81110
# ──────────────────────────────────────────────────────────────
82-
# 3. DevContainer (devcontainer.json : base image + features)
111+
# 4. DevContainer (devcontainer.json : base image + features)
83112
# ──────────────────────────────────────────────────────────────
84113
- package-ecosystem: "devcontainers"
85114
directory: "/"

0 commit comments

Comments
 (0)