diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 000000000..780dc929a --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,22 @@ +name: Pre-Commit Check + +on: + push: + branches: + - "master" + - "stable" + pull_request: + branches: + - "master" + - "stable" + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Pre-Commit + uses: pre-commit/action@v3.0.0