Skip to content

Commit

Permalink
Add Dependabot config file (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka authored Feb 9, 2025
1 parent 8bfdce2 commit b21bceb
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Summary: Dependabot config file for OpenFermion.
#
# By default, Dependabot labels all pull requests with label 'dependencies'.
# We use `dependency bug`, so have to configure Dependabot appropriately.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

version: 2
updates:
- package-ecosystem: "docker"
# The "docker" ecosystem directive makes Dependabot look for a Dockerfile
# in the specified directory.
directories:
- "/docker/"
- "/dev_tools/requirements/"
schedule:
interval: "weekly"
labels:
- "dependency bug"
- "docker"

- package-ecosystem: "github-actions"
# The "github-actions" code explicitly looks in /.github/workflows if the
# value "/" is given for the directory attribute. Yes, that's confusing.
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependency bug"
- "github workflows"

- package-ecosystem: "pip"
# OpenFermion has requirements.txt files in multiple places.
directories:
- "/dev_tools/requirements/"
- "/docs/tutorials/"
schedule:
interval: "weekly"
versioning-strategy: "increase-if-necessary"
labels:
- "dependency bug"

0 comments on commit b21bceb

Please sign in to comment.