2021-12-07 22:47:43 +03:00
|
|
|
# Config for Dependabot updates. See Documentation here:
|
|
|
|
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
|
|
|
2020-09-21 13:20:24 +03:00
|
|
|
version: 2
|
|
|
|
updates:
|
2021-12-07 22:47:43 +03:00
|
|
|
# Update GitHub actions in workflows
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'github-actions'
|
|
|
|
directory: '/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2020-09-21 13:20:24 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
|
|
|
{%- if cookiecutter.use_docker == 'y' %}
|
|
|
|
|
|
|
|
# Enable version updates for Docker
|
2022-01-04 20:49:40 +03:00
|
|
|
# We need to specify each Dockerfile in a separate entry because Dependabot doesn't
|
2021-12-07 22:47:43 +03:00
|
|
|
# support wildcards or recursively checking subdirectories. Check this issue for updates:
|
|
|
|
# https://github.com/dependabot/dependabot-core/issues/2178
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/local/django` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/local/django/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
|
|
|
ignore:
|
2023-04-15 14:15:15 +03:00
|
|
|
- dependency-name: '*'
|
|
|
|
update-types:
|
|
|
|
- 'version-update:semver-major'
|
|
|
|
- 'version-update:semver-minor'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/local/docs` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/local/docs/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
|
|
|
ignore:
|
2023-04-15 14:15:15 +03:00
|
|
|
- dependency-name: '*'
|
|
|
|
update-types:
|
|
|
|
- 'version-update:semver-major'
|
|
|
|
- 'version-update:semver-minor'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/local/node` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/local/node/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2022-01-04 20:49:40 +03:00
|
|
|
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/production/aws` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/production/aws/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/production/django` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/production/django/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
|
|
|
ignore:
|
2023-04-15 14:15:15 +03:00
|
|
|
- dependency-name: '*'
|
|
|
|
update-types:
|
|
|
|
- 'version-update:semver-major'
|
|
|
|
- 'version-update:semver-minor'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/production/postgres` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/production/postgres/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'docker'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `Dockerfile` in the `compose/production/traefik` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: 'compose/production/traefik/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
|
|
|
{%- endif %}
|
|
|
|
|
|
|
|
# Enable version updates for Python/Pip - Production
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'pip'
|
2021-12-07 22:47:43 +03:00
|
|
|
# Look for a `requirements.txt` in the `root` directory
|
|
|
|
# also 'setup.cfg', 'runtime.txt' and 'requirements/*.txt'
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: '/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
2022-03-20 18:00:40 +03:00
|
|
|
{%- if cookiecutter.frontend_pipeline == 'Gulp' %}
|
2021-12-07 22:47:43 +03:00
|
|
|
|
|
|
|
# Enable version updates for javascript/npm
|
2023-04-15 14:15:15 +03:00
|
|
|
- package-ecosystem: 'npm'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Look for a `packages.json` in the `root` directory
|
2023-04-15 14:15:15 +03:00
|
|
|
directory: '/'
|
2023-03-16 19:05:02 +03:00
|
|
|
# Every weekday
|
2021-12-07 22:47:43 +03:00
|
|
|
schedule:
|
2023-04-15 14:15:15 +03:00
|
|
|
interval: 'daily'
|
2021-12-07 22:47:43 +03:00
|
|
|
|
|
|
|
{%- endif %}
|