Automaticlly updating pre-commits (#220)

This commit is contained in:
Philipp Horstenkamp 2023-10-19 18:44:13 +02:00 committed by GitHub
parent 377930b82d
commit b92be60789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,3 +16,20 @@ jobs:
with:
package_name: ${{ github.event.repository.name }}/${{ matrix.name }}
token: ${{ secrets.GITHUB_TOKEN }}
auto-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: browniebroke/pre-commit-autoupdate-action@main
- uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update/pre-commit-hooks
title: Update pre-commit hooks
commit-message: 'chore: update pre-commit hooks'
body: Update versions of pre-commit hooks to latest version.