From df7fc2ebebe4ac7c25f7a96cf2a6dcbdb4f6175b Mon Sep 17 00:00:00 2001 From: Cosmin Ciocan Date: Fri, 12 Jan 2024 18:44:03 +0100 Subject: [PATCH] Add github workflow to check pre-commit hooks on all files on master branch --- .github/workflows/code-quality-master.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/code-quality-master.yml diff --git a/.github/workflows/code-quality-master.yml b/.github/workflows/code-quality-master.yml new file mode 100644 index 0000000..ab4f9f0 --- /dev/null +++ b/.github/workflows/code-quality-master.yml @@ -0,0 +1,22 @@ +# Same as `code-quality-pr.yaml` but triggered on commit to master branch +# and runs on all files (instead of only the changed ones) + +name: Code Quality Master + +on: + push: + branches: [master] + +jobs: + code-quality: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + + - name: Run pre-commits + uses: pre-commit/action@v2.0.3