2020-09-09 15:25:12 +03:00
|
|
|
# Config for Dependabot updates. See Documentation here:
|
2021-11-21 20:48:42 +03:00
|
|
|
# https://docs.github.com/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
|
2020-09-09 15:25:12 +03:00
|
|
|
|
|
|
|
version: 2
|
|
|
|
updates:
|
2021-11-21 20:48:42 +03:00
|
|
|
# Update GitHub actions in workflows
|
2020-09-09 15:25:12 +03:00
|
|
|
- package-ecosystem: "github-actions"
|
|
|
|
directory: "/"
|
|
|
|
schedule:
|
|
|
|
interval: "daily"
|
2021-01-31 21:11:23 +03:00
|
|
|
labels:
|
|
|
|
- "update"
|
2021-12-07 22:05:59 +03:00
|
|
|
|
|
|
|
# Update npm packages
|
|
|
|
- package-ecosystem: "npm"
|
|
|
|
directory: "{{cookiecutter.project_slug}}/"
|
|
|
|
schedule:
|
|
|
|
interval: "daily"
|
|
|
|
labels:
|
|
|
|
- "update"
|
2023-02-06 23:41:47 +03:00
|
|
|
|
|
|
|
# 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"
|
2023-03-16 19:05:02 +03:00
|
|
|
ignore:
|
|
|
|
- dependency-name: "*"
|
|
|
|
update-types: ["version-update:semver-major", "version-update:semver-minor"]
|
2023-02-06 23:41:47 +03:00
|
|
|
labels:
|
|
|
|
- "update"
|
|
|
|
|
|
|
|
- package-ecosystem: "docker"
|
|
|
|
directory: "{{cookiecutter.project_slug}}/compose/local/docs/"
|
|
|
|
schedule:
|
|
|
|
interval: "daily"
|
2023-03-16 19:05:02 +03:00
|
|
|
ignore:
|
|
|
|
- dependency-name: "*"
|
|
|
|
update-types: ["version-update:semver-major", "version-update:semver-minor"]
|
2023-02-06 23:41:47 +03:00
|
|
|
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"
|
2023-03-16 19:05:02 +03:00
|
|
|
ignore:
|
|
|
|
- dependency-name: "*"
|
|
|
|
update-types: ["version-update:semver-major", "version-update:semver-minor"]
|
2023-02-06 23:41:47 +03:00
|
|
|
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/traefik/"
|
|
|
|
schedule:
|
|
|
|
interval: "daily"
|
|
|
|
labels:
|
|
|
|
- "update"
|