mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
CI: weekly poetry lock (#29738)
* CI: weekly poetry lock * add that back * title * cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: repo
|
name: repo maintenance
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -6,13 +6,17 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-commit-autoupdate:
|
updates:
|
||||||
name: pre-commit autoupdate
|
name: updates
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/commaai/openpilot-base:latest
|
image: ghcr.io/commaai/openpilot-base:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: poetry lock
|
||||||
|
run: |
|
||||||
|
pip install poetry
|
||||||
|
poetry lock
|
||||||
- name: pre-commit autoupdate
|
- name: pre-commit autoupdate
|
||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory '*'
|
git config --global --add safe.directory '*'
|
||||||
@@ -21,8 +25,8 @@ jobs:
|
|||||||
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5
|
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}
|
token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}
|
||||||
commit-message: Update pre-commit hook versions
|
commit-message: Update Python packages and pre-commit hooks
|
||||||
title: 'pre-commit: autoupdate hooks'
|
title: 'Update Python packages and pre-commit hooks'
|
||||||
branch: pre-commit-updates
|
branch: auto-package-updates
|
||||||
base: master
|
base: master
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
Reference in New Issue
Block a user