Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
time: "07:00"
labels:
- "part:tooling"
- "type:tech-debt"
# Default versioning-strategy. For other versioning-strategy see:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#versioning-strategy
versioning-strategy: auto
# Allow up to 10 open pull requests for updates to dependency versions
open-pull-requests-limit: 10

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
time: "06:00"
labels:
- "part:tooling"
- "type:tech-debt"
{%- if cookiecutter.type == "api" %}

- package-ecosystem: "gitsubmodule"
directory: "/"
# We only want to track updates on google api common because the
# dependencies to other submodules are also indirectly tracked by the
# python dependencies (and because the gitsubmodule dependency tracker
# doesn't support updating only to tags or following semver, see
# https://github.com/dependabot/dependabot-core/issues/1639 for details)
# We do so by explicitly ignoring the other submodules, as `ignore` all
# + `allow` one doesn't seem to work.
ignore:
- dependency-name: "submodules/frequenz-api-common"
# The google api common repo changes very seldom, so there is no need to
# check very often.
schedule:
interval: "monthly"
time: "06:00"
labels:
- "part:tooling"
- "type:tech-debt"
{%- endif %}
4 changes: 2 additions & 2 deletions cookiecutter/{{cookiecutter.github_repo_name}}/.gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% if cookiecutter.type == "api" -%}
[submodule "api-common-protos"]
[submodule "submodules/api-common-protos"]
path = submodules/api-common-protos
url = https://github.com/googleapis/api-common-protos.git
[submodule "frequenz-api-common"]
[submodule "submodules/frequenz-api-common"]
path = submodules/frequenz-api-common
url = https://github.com/frequenz-floss/frequenz-api-common.git
{% endif -%}