Skip to content

Add pre-commit CI lite for automated fixes #438

Add pre-commit CI lite for automated fixes

Add pre-commit CI lite for automated fixes #438

---
# used for running pre-commit checks
name: pre-commit checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run_pre_commit_tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
# run pre-commit
- uses: pre-commit/[email protected]
# run pre-commit ci lite for automated fixes
- uses: pre-commit-ci/[email protected]
if: ${{ !cancelled() }}