Skip to content

Update Vendor Sources #150

Update Vendor Sources

Update Vendor Sources #150

Workflow file for this run

name: Update Vendor Sources
on:
schedule:
- cron: '42 6 * * 2'
workflow_dispatch:
env:
MINIMUM_PYTHON_VERSION: "3.8"
jobs:
sync:
name: Update Vendor Sources
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Install Python ${{ env.MINIMUM_PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install pre-commit and dev dependencies
run: |
python -m pip install pre-commit poetry
pre-commit install
poetry install
- name: Update Vendor Sources
run: poetry run python ./scripts/update_vendor.py
- name: Run black
run: poetry run black .
- name: Run pre-commit
run: pre-commit run -a
continue-on-error: true
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Automated vendor update