Skip to content

Update Vendor Sources #91

Update Vendor Sources

Update Vendor Sources #91

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@v3
with:
ref: ${{ github.head_ref }}
- name: Install Python ${{ env.MINIMUM_PYTHON_VERSION }}
uses: actions/setup-python@v4
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 pre-commit
run: pre-commit run -a
continue-on-error: true
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated vendor update