Skip to content

Tests, schemas, forms, pre-commit-config, etc. #4

Tests, schemas, forms, pre-commit-config, etc.

Tests, schemas, forms, pre-commit-config, etc. #4

Workflow file for this run

name: Pre-Commit
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
- name: Commit changes
run: |
git add -A
git commit -m "Apply pre-commit fixes" || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
force: true