From 852bb371afaaed601494e7e8bb3b148e6c6c42f8 Mon Sep 17 00:00:00 2001 From: Yu Ishikawa Date: Wed, 30 Oct 2024 10:00:59 +0900 Subject: [PATCH] Add `pre-commit.yml` Signed-off-by: Yu Ishikawa --- .github/workflows/pre-commit.yml | 15 +++++++++++++++ 1 file changed, 15 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..9018233d --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,15 @@ +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@v5 + # SEE https://github.com/pre-commit/action + - uses: pre-commit/action@v3.0.1