Skip to content

Commit 6a3d2ab

Browse files
authored
Add a Dependabot configuration file (#1026)
This config file customizes Dependabot's behavior to be more useful for this project.
1 parent 4e82688 commit 6a3d2ab

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

.github/dependabot.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright 2026 The TensorFlow Quantum Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
# ============================================================================
15+
16+
version: 2
17+
updates:
18+
- package-ecosystem: "pip"
19+
directory: "/"
20+
exclude-paths:
21+
- "third_party/**"
22+
schedule:
23+
interval: "monthly"
24+
versioning-strategy: "increase-if-necessary"
25+
labels:
26+
- "area/dependencies"
27+
- "area/python"
28+
- "area/health"
29+
30+
- package-ecosystem: "github-actions"
31+
# The "github-actions" code explicitly looks in /.github/workflows if the
32+
# value "/" is given for the directory attribute. Yes, that's confusing.
33+
directory: "/"
34+
schedule:
35+
interval: "monthly"
36+
groups:
37+
# Ideally, we would group all monthly updates together into 1 group,
38+
# but Dependabot does not support that. The best we can do is 2 groups.
39+
actions-version-updates:
40+
applies-to: "version-updates"
41+
patterns:
42+
- "*"
43+
actions-security-updates:
44+
applies-to: "security-updates"
45+
patterns:
46+
- "*"
47+
labels:
48+
- "area/devops"
49+
- "area/health"
50+
- "kind/chore"

0 commit comments

Comments
 (0)