Skip to content

Commit 0f0c8a8

Browse files
Create pre-commit.yaml
Signed-off-by: Ruslan Senatorov <[email protected]>
1 parent 982c5c0 commit 0f0c8a8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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

0 commit comments

Comments
 (0)