Skip to content

Commit b21bceb

Browse files
authored
Add Dependabot config file (#939)
1 parent 8bfdce2 commit b21bceb

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/dependabot.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Summary: Dependabot config file for OpenFermion.
2+
#
3+
# By default, Dependabot labels all pull requests with label 'dependencies'.
4+
# We use `dependency bug`, so have to configure Dependabot appropriately.
5+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "docker"
10+
# The "docker" ecosystem directive makes Dependabot look for a Dockerfile
11+
# in the specified directory.
12+
directories:
13+
- "/docker/"
14+
- "/dev_tools/requirements/"
15+
schedule:
16+
interval: "weekly"
17+
labels:
18+
- "dependency bug"
19+
- "docker"
20+
21+
- package-ecosystem: "github-actions"
22+
# The "github-actions" code explicitly looks in /.github/workflows if the
23+
# value "/" is given for the directory attribute. Yes, that's confusing.
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
labels:
28+
- "dependency bug"
29+
- "github workflows"
30+
31+
- package-ecosystem: "pip"
32+
# OpenFermion has requirements.txt files in multiple places.
33+
directories:
34+
- "/dev_tools/requirements/"
35+
- "/docs/tutorials/"
36+
schedule:
37+
interval: "weekly"
38+
versioning-strategy: "increase-if-necessary"
39+
labels:
40+
- "dependency bug"

0 commit comments

Comments
 (0)