2021-12-10 08:48:00 +00:00
|
|
|
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
|
2022-03-04 19:35:27 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-12-10 08:48:00 +00:00
|
|
|
|
|
|
|
- name: Update pre-commit hooks
|
|
|
|
uses: vrslev/pre-commit-autoupdate@v1.0.0
|
|
|
|
|
|
|
|
- name: Create Pull Request
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
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
|