From 5e58b80485f9afa96da97cc9f34534c33e3d0d91 Mon Sep 17 00:00:00 2001 From: Phuoc Tran <57540319+tvqphuoc01@users.noreply.github.com> Date: Sun, 24 Nov 2024 14:52:44 +0700 Subject: [PATCH] Create pre-commit.yml --- .github/workflows/pre-commit.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 00000000..2b11178b --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,14 @@ +name: pre-commit + +on: + pull_request: + push: + branches: [main] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1