mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-14 13:47:07 +03:00
54247e783e
as a way to fix #5345 and #5344
113 lines
3.0 KiB
YAML
113 lines
3.0 KiB
YAML
# Config for Dependabot updates. See Documentation here:
|
|
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
|
|
version: 2
|
|
updates:
|
|
# Update Python deps for the template (not the generated project)
|
|
- package-ecosystem: "pip"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "project infrastructure"
|
|
|
|
# Update Python deps for the documentation
|
|
- package-ecosystem: "pip"
|
|
directory: "docs/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "project infrastructure"
|
|
|
|
# Update GitHub actions in workflows
|
|
- package-ecosystem: "github-actions"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "project infrastructure"
|
|
|
|
# Update npm packages
|
|
- package-ecosystem: "npm"
|
|
directory: "{{cookiecutter.project_slug}}/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "update"
|
|
|
|
# Enable version updates for Docker
|
|
# We need to specify each Dockerfile in a separate entry because Dependabot doesn't
|
|
# support wildcards or recursively checking subdirectories. Check this issue for updates:
|
|
# https://github.com/dependabot/dependabot-core/issues/2178
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/local/django/"
|
|
schedule:
|
|
interval: "daily"
|
|
ignore:
|
|
- dependency-name: "*"
|
|
update-types:
|
|
- "version-update:semver-major"
|
|
- "version-update:semver-minor"
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/local/docs/"
|
|
schedule:
|
|
interval: "daily"
|
|
ignore:
|
|
- dependency-name: "*"
|
|
update-types:
|
|
- "version-update:semver-major"
|
|
- "version-update:semver-minor"
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/local/node/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/production/aws/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/production/django/"
|
|
schedule:
|
|
interval: "daily"
|
|
ignore:
|
|
- dependency-name: "*"
|
|
update-types:
|
|
- "version-update:semver-major"
|
|
- "version-update:semver-minor"
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/production/postgres/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/production/nginx/"
|
|
schedule:
|
|
interval: "daily"
|
|
versioning-strategy: increase
|
|
labels:
|
|
- "update"
|
|
|
|
- package-ecosystem: "docker"
|
|
directory: "{{cookiecutter.project_slug}}/compose/production/traefik/"
|
|
schedule:
|
|
interval: "daily"
|
|
labels:
|
|
- "update"
|