Autoupdate pre-commit hooks #971
This file contains 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@v4 | |
- name: Update pre-commit hooks | |
uses: vrslev/[email protected] | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
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 |