Auto-update pre-commit hooks for template

This commit is contained in:
Bruno Alla 2021-12-08 18:18:36 +00:00
parent 5fd9b9ab8c
commit c4aa645094

View File

@ -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