Create pre-commit.yml
taylor_socfortress committed
Jul 10, 2023 at 16:32 UTC
d076f01960ed6f050669d2d3f4a11ec59b0f3ccf
1 file changed
+16
.github/workflows/pre-commit.yml
new
+16
@@ -0,0 +1,16 @@
1
+name: pre-commit
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+
8
+jobs:
9
+ pre-commit:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - uses: actions/setup-python@v4
14
+ with:
15
+ python-version: "3.9"
16
+ - uses: pre-commit/action@v3.0.0