Skip to content

Update pre-commit hooks #164

Update pre-commit hooks

Update pre-commit hooks #164

name: Update pre-commit hooks
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
auto-update:
name: Update pre-commit hooks
if: ${{ github.repository == 'vacanza/python-holidays' }}
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.11'
- uses: browniebroke/[email protected]
- uses: peter-evans/[email protected]
with:
base: beta
body: Update pre-commit hooks to their latest versions.
branch: update-pre-commit-hooks
commit-message: 'chore: Update pre-commit hooks'
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
delete-branch: true
title: Update pre-commit hooks
token: ${{ github.token }}