Skip to content

Pre-commit autoupdate #196

Pre-commit autoupdate

Pre-commit autoupdate #196

name: Pre-commit autoupdate
on:
schedule:
- cron: "0 0 * * 0" # weekly
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install pre-commit
- run: pre-commit autoupdate
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: chore/pre-commit-autoupdate
title: "pre-commit: autoupdate"
body: ""
commit-message: "pre-commit: autoupdate"
labels: automerge