Skip to content

Pre-commit auto-update #19

Pre-commit auto-update

Pre-commit auto-update #19

name: Pre-commit auto-update
# PAT github secret has to be created with repo scope
# add the secret to the repo settings
on:
# every monday
schedule:
- cron: "0 7 * * 1"
# on demand
workflow_dispatch:
#{% raw %}
jobs:
pre-commit-update:
runs-on: ubuntu-latest
name:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update pre-commit hooks
uses: brokenpip3/[email protected]
with:
github-token: ${{ secrets.PAT }}
#{% endraw %}