mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Auto-update pre-commit hooks for template
This commit is contained in:
parent
5fd9b9ab8c
commit
c4aa645094
7
.github/workflows/pre-commit-autoupdate.yml
vendored
7
.github/workflows/pre-commit-autoupdate.yml
vendored
|
@ -5,7 +5,7 @@ name: Pre-commit auto-update
|
|||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "15 2 * * *"
|
||||
workflow_dispatch: # to trigger manually
|
||||
|
||||
jobs:
|
||||
|
@ -23,7 +23,10 @@ jobs:
|
|||
- name: Install pre-commit
|
||||
run: pip install pre-commit
|
||||
|
||||
- name: Run pre-commit autoupdate
|
||||
- name: Autoupdate template
|
||||
run: pre-commit autoupdate
|
||||
|
||||
- name: Autoupdate generated projects
|
||||
working-directory: "{{cookiecutter.project_slug}}"
|
||||
run: pre-commit autoupdate
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user