CI: weekly poetry lock (#29738)

* CI: weekly poetry lock

* add that back

* title

* cleanup
old-commit-hash: afd35bf7ec
beeps
Adeeb Shihadeh 2 years ago committed by GitHub
parent cd7d73eaf8
commit fbfc0e460d
  1. 16
      .github/workflows/repo-maintenance.yaml

@ -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
Loading…
Cancel
Save