mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
Fix formatting of GitHub files for prettier
This commit is contained in:
parent
8147aaf928
commit
b5235dbefa
|
@ -4,11 +4,11 @@
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
# Update GitHub actions in workflows
|
# Update GitHub actions in workflows
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: 'github-actions'
|
||||||
directory: "/"
|
directory: '/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
{%- if cookiecutter.use_docker == 'y' %}
|
{%- if cookiecutter.use_docker == 'y' %}
|
||||||
|
|
||||||
|
@ -16,92 +16,92 @@ updates:
|
||||||
# We need to specify each Dockerfile in a separate entry because Dependabot doesn't
|
# 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:
|
# support wildcards or recursively checking subdirectories. Check this issue for updates:
|
||||||
# https://github.com/dependabot/dependabot-core/issues/2178
|
# https://github.com/dependabot/dependabot-core/issues/2178
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/local/django` directory
|
# Look for a `Dockerfile` in the `compose/local/django` directory
|
||||||
directory: "compose/local/django/"
|
directory: 'compose/local/django/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
||||||
ignore:
|
ignore:
|
||||||
- dependency-name: "*"
|
- dependency-name: '*'
|
||||||
update-types:
|
update-types:
|
||||||
- "version-update:semver-major"
|
- 'version-update:semver-major'
|
||||||
- "version-update:semver-minor"
|
- 'version-update:semver-minor'
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/local/docs` directory
|
# Look for a `Dockerfile` in the `compose/local/docs` directory
|
||||||
directory: "compose/local/docs/"
|
directory: 'compose/local/docs/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
||||||
ignore:
|
ignore:
|
||||||
- dependency-name: "*"
|
- dependency-name: '*'
|
||||||
update-types:
|
update-types:
|
||||||
- "version-update:semver-major"
|
- 'version-update:semver-major'
|
||||||
- "version-update:semver-minor"
|
- 'version-update:semver-minor'
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/local/node` directory
|
# Look for a `Dockerfile` in the `compose/local/node` directory
|
||||||
directory: "compose/local/node/"
|
directory: 'compose/local/node/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/production/aws` directory
|
# Look for a `Dockerfile` in the `compose/production/aws` directory
|
||||||
directory: "compose/production/aws/"
|
directory: 'compose/production/aws/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/production/django` directory
|
# Look for a `Dockerfile` in the `compose/production/django` directory
|
||||||
directory: "compose/production/django/"
|
directory: 'compose/production/django/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
# Ignore minor version updates (3.10 -> 3.11) but update patch versions
|
||||||
ignore:
|
ignore:
|
||||||
- dependency-name: "*"
|
- dependency-name: '*'
|
||||||
update-types:
|
update-types:
|
||||||
- "version-update:semver-major"
|
- 'version-update:semver-major'
|
||||||
- "version-update:semver-minor"
|
- 'version-update:semver-minor'
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/production/postgres` directory
|
# Look for a `Dockerfile` in the `compose/production/postgres` directory
|
||||||
directory: "compose/production/postgres/"
|
directory: 'compose/production/postgres/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
- package-ecosystem: "docker"
|
- package-ecosystem: 'docker'
|
||||||
# Look for a `Dockerfile` in the `compose/production/traefik` directory
|
# Look for a `Dockerfile` in the `compose/production/traefik` directory
|
||||||
directory: "compose/production/traefik/"
|
directory: 'compose/production/traefik/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# Enable version updates for Python/Pip - Production
|
# Enable version updates for Python/Pip - Production
|
||||||
- package-ecosystem: "pip"
|
- package-ecosystem: 'pip'
|
||||||
# Look for a `requirements.txt` in the `root` directory
|
# Look for a `requirements.txt` in the `root` directory
|
||||||
# also 'setup.cfg', 'runtime.txt' and 'requirements/*.txt'
|
# also 'setup.cfg', 'runtime.txt' and 'requirements/*.txt'
|
||||||
directory: "/"
|
directory: '/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
{%- if cookiecutter.frontend_pipeline == 'Gulp' %}
|
{%- if cookiecutter.frontend_pipeline == 'Gulp' %}
|
||||||
|
|
||||||
# Enable version updates for javascript/npm
|
# Enable version updates for javascript/npm
|
||||||
- package-ecosystem: "npm"
|
- package-ecosystem: 'npm'
|
||||||
# Look for a `packages.json` in the `root` directory
|
# Look for a `packages.json` in the `root` directory
|
||||||
directory: "/"
|
directory: '/'
|
||||||
# Every weekday
|
# Every weekday
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: 'daily'
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -7,12 +7,12 @@ env:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master", "main" ]
|
branches: [ 'master', 'main' ]
|
||||||
paths-ignore: [ "docs/**" ]
|
paths-ignore: [ 'docs/**' ]
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches: [ "master", "main" ]
|
branches: [ 'master', 'main' ]
|
||||||
paths-ignore: [ "docs/**" ]
|
paths-ignore: [ 'docs/**' ]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: {% raw %}${{ github.head_ref || github.run_id }}{% endraw %}
|
group: {% raw %}${{ github.head_ref || github.run_id }}{% endraw %}
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: '3.11'
|
||||||
|
|
||||||
{%- if cookiecutter.open_source_license != 'Not open source' %}
|
{%- if cookiecutter.open_source_license != 'Not open source' %}
|
||||||
# Consider using pre-commit.ci for open source project
|
# Consider using pre-commit.ci for open source project
|
||||||
|
@ -58,10 +58,10 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
{%- if cookiecutter.use_celery == 'y' %}
|
{%- if cookiecutter.use_celery == 'y' %}
|
||||||
CELERY_BROKER_URL: "redis://localhost:6379/0"
|
CELERY_BROKER_URL: 'redis://localhost:6379/0'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
# postgres://user:password@host:port/database
|
# postgres://user:password@host:port/database
|
||||||
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/postgres"
|
DATABASE_URL: 'postgres://postgres:postgres@localhost:5432/postgres'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -86,7 +86,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: '3.11'
|
||||||
cache: pip
|
cache: pip
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
requirements/base.txt
|
requirements/base.txt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user