Skip to content

Commit fb8292a

Browse files
llucaxstefan-brus-frequenz
authored andcommitted
Add dependabot configuration
This will notify and send PRs to update all dependencies when new versions are released. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 7347aec commit fb8292a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/dependabot.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
time: "07:00"
8+
labels:
9+
- "part:tooling"
10+
- "type:tech-debt"
11+
# Default versioning-strategy. For other versioning-strategy see:
12+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy
13+
versioning-strategy: auto
14+
# Allow up to 10 open pull requests for updates to dependency versions
15+
open-pull-requests-limit: 10
16+
17+
- package-ecosystem: "github-actions"
18+
directory: "/"
19+
schedule:
20+
interval: "daily"
21+
time: "06:00"
22+
labels:
23+
- "part:tooling"
24+
- "type:tech-debt"
25+
26+
- package-ecosystem: "gitsubmodule"
27+
directory: "/"
28+
# We only want to track updates on google api common because the
29+
# dependencies to other submodules are also indirectly tracked by the
30+
# python dependencies (and because the gitsubmodule dependency tracker
31+
# doesn't support updating only to tags or following semver, see
32+
# https://github.com/dependabot/dependabot-core/issues/1639 for details)
33+
# We do so by explicitly ignoring the other submodules, as `ignore` all
34+
# + `allow` one doesn't seem to work.
35+
ignore:
36+
- dependency-name: "submodules/frequenz-api-common"
37+
# The google api common repo changes very seldom, so there is no need to
38+
# check very often.
39+
schedule:
40+
interval: "monthly"
41+
time: "06:00"
42+
labels:
43+
- "part:tooling"
44+
- "type:tech-debt"

0 commit comments

Comments
 (0)