diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 00000000000..b577965b73b --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,15 @@ +# https://github.com/pre-commit/action +name: pre-commit +on: + pull_request: + push: + branches: [master] +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.9 + - uses: pre-commit/action@v2.0.3