Skip to content

Commit 44a8a37

Browse files
Piotr1215deniseschannon
authored andcommitted
feat(ci): configure dependabot exclude non-prod folders
Signed-off-by: Piotr Zaniewski <piotr.zaniewski@loft.sh>
1 parent 22a69fb commit 44a8a37

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/dependabot.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Dependabot configuration to exclude docs folder from dependency updates
2+
# This prevents Dependabot from creating PRs for dependencies in the docs directory
3+
4+
version: 2
5+
updates:
6+
# Check for Go module dependencies
7+
- package-ecosystem: "gomod"
8+
directory: "/"
9+
# Exclude the docs folder and vendor/examples directories
10+
exclude-paths:
11+
- "docs/**"
12+
- "vendor/**"
13+
- "examples/**"
14+
schedule:
15+
interval: "weekly"
16+
labels:
17+
- "dependencies"
18+
- "go"
19+
20+
# Check for npm dependencies in UI folder
21+
- package-ecosystem: "npm"
22+
directory: "/ui"
23+
schedule:
24+
interval: "weekly"
25+
labels:
26+
- "dependencies"
27+
- "javascript"
28+
29+
# Check for npm dependencies in dist/npm
30+
- package-ecosystem: "npm"
31+
directory: "/dist/npm"
32+
schedule:
33+
interval: "weekly"
34+
labels:
35+
- "dependencies"
36+
- "javascript"
37+
38+
# Check for npm dependencies at root level (but exclude docs)
39+
- package-ecosystem: "npm"
40+
directory: "/"
41+
# Exclude the docs folder from npm scanning
42+
exclude-paths:
43+
- "docs/**"
44+
- "examples/**"
45+
schedule:
46+
interval: "weekly"
47+
labels:
48+
- "dependencies"
49+
- "javascript"

0 commit comments

Comments
 (0)