Skip to content

Commit 580af4b

Browse files
Create pre-commit.yaml
Signed-off-by: Ruslan Senatorov <[email protected]>
1 parent 7bf3d7d commit 580af4b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '*'
7+
push:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
pre-commit:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-python@v3
17+
with:
18+
python-version: '3.11'
19+
- uses: pre-commit/[email protected]
20+
with:
21+
extra_args: --all-files
22+
23+
24+
pre-commit.yaml

0 commit comments

Comments
 (0)