diff --git a/.github/workflows/precommit.yaml b/.github/workflows/precommit.yaml new file mode 100644 index 000000000..8ef83247f --- /dev/null +++ b/.github/workflows/precommit.yaml @@ -0,0 +1,16 @@ +--- +name: pre-commit + +on: + pull_request: + push: + # branches: [main] + branches: [fix-docs] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1