Autoupdate pre-commit hooks #1422
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Autoupdate pre-commit hooks | |
| on: | |
| schedule: | |
| # Every day at 7 am | |
| - cron: 0 7 * * * | |
| jobs: | |
| pre-commit-autoupdate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Update pre-commit hooks | |
| uses: vrslev/[email protected] | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| branch: pre-commit-autoupdate | |
| title: "chore(deps): Update pre-commit hooks" | |
| commit-message: "chore(deps): Update pre-commit hooks" | |
| body: Update pre-commit hooks | |
| labels: dependencies,development | |
| delete-branch: True |