diff --git a/copier.yml b/copier.yml index 04123c2c..d17c8589 100644 --- a/copier.yml +++ b/copier.yml @@ -77,6 +77,11 @@ AddGitHubActions: default: "{{ template_profile != 'minimum' }}" help: GitHub actions to test the package and the documentation +AddDependabot: + when: "{{ template_profile == 'ask' }}" + type: bool + default: "{{ template_profile != 'minimum' }}" + help: Include dependabot to keep dependencies up to date? # internal fields _subdirectory: template diff --git a/template/.github/{% if AddDependabot %}dependabot.yml{% endif %} b/template/.github/{% if AddDependabot %}dependabot.yml{% endif %} new file mode 100644 index 00000000..8a6c1559 --- /dev/null +++ b/template/.github/{% if AddDependabot %}dependabot.yml{% endif %} @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: ".github/workflows" + schedule: + interval: "daily"