mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 00:43:54 +08:00
CI: add job to update pre-commit hooks (#27922)
* CI: add job to update pre-commit hooks * rm push
This commit is contained in:
28
.github/workflows/repo.yml
vendored
Normal file
28
.github/workflows/repo.yml
vendored
Normal file
@@ -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
|
||||
2
cereal
2
cereal
Submodule cereal updated: 4f5502c865...911cfac392
2
opendbc
2
opendbc
Submodule opendbc updated: 933d784a0d...003baff1ac
2
panda
2
panda
Submodule panda updated: ada8b49cb5...fbbc6b6996
Reference in New Issue
Block a user