Skip to content

Commit 0f0c8a8

Browse files
Create pre-commit.yaml
Signed-off-by: Ruslan Senatorov <55090151+ruslansenatorov@users.noreply.github.com>
1 parent 982c5c0 commit 0f0c8a8

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.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/action@v3.0.1
20+
with:
21+
extra_args: --all-files

0 commit comments

Comments
 (0)