CI: add job to update pre-commit hooks (#27922)
* CI: add job to update pre-commit hooks
* rm push
old-commit-hash: fd50713c2d
beeps
parent
52f0416736
commit
b7c0e56697
4 changed files with 31 additions and 3 deletions
@ -0,0 +1,28 @@ |
||||
name: repo |
||||
|
||||
on: |
||||
schedule: |
||||
- cron: "0 15 * * 2" |
||||
workflow_dispatch: |
||||
|
||||
jobs: |
||||
pre-commit-autoupdate: |
||||
name: pre-commit autoupdate |
||||
runs-on: ubuntu-20.04 |
||||
container: |
||||
image: ghcr.io/commaai/openpilot-base:latest |
||||
steps: |
||||
- uses: actions/checkout@v3 |
||||
- name: pre-commit autoupdate |
||||
run: | |
||||
git config --global --add safe.directory '*' |
||||
pre-commit autoupdate |
||||
- name: Create Pull Request |
||||
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5 |
||||
with: |
||||
token: ${{ secrets.ACTIONS_CREATE_PR_PAT }} |
||||
commit-message: Update pre-commit hook versions |
||||
title: 'pre-commit: autoupdate hooks' |
||||
branch: pre-commit-updates |
||||
base: master |
||||
delete-branch: true |
@ -1 +1 @@ |
||||
Subproject commit 4f5502c8657813ccb538e9575ca1a7b258b17af9 |
||||
Subproject commit 911cfac392d6dc05162a44a3af9d28307185ecd7 |
@ -1 +1 @@ |
||||
Subproject commit 933d784a0d901657a278ee6e56a154e7e8214f1f |
||||
Subproject commit 003baff1ace81dd4441febade69165a7e6cee681 |
@ -1 +1 @@ |
||||
Subproject commit ada8b49cb5940d306c529156622022be2d7fdaa2 |
||||
Subproject commit fbbc6b6996173573534613c7fce66db05a6aa721 |
Loading…
Reference in new issue