From 2f1294996c623ad8ebb2360271eb3f82d7e4bae5 Mon Sep 17 00:00:00 2001 From: Sebastian Feustel <48125666+53845714nF@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:22:32 +0200 Subject: [PATCH] Add Acton to pre commit hook (#21) * Create pre-commit.yml * Add pre commit hook (#16) (#19) * add pre commit config * add pre commit config * add pre commit config * add pre commit config * add pre commit config --------- Co-authored-by: 53845714nF * Add pre commit hook (#16) (#20) * add pre commit config * add pre commit config * add pre commit config * add pre commit config * add pre commit config --------- Co-authored-by: 53845714nF --------- Co-authored-by: 53845714nF --- .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 0000000..d8346d7 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,14 @@ +name: pre-commit + +on: + pull_request: + push: + workflow_dispatch: + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1