Skip to content

Commit 8219b99

Browse files
authored
Update pre-commit.yaml
1 parent ad1a1f2 commit 8219b99

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
name: pre-commit
22

3-
on:
4-
pull_request:
5-
push:
6-
branches: [main]
3+
on: [pull_request]
74

85
jobs:
9-
pre-commit:
6+
prek:
107
runs-on: ubuntu-latest
118
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-python@v5
14-
with:
15-
python-version: '3.10'
16-
- uses: pre-commit/action@v3.0.1
9+
- uses: actions/checkout@v5
10+
- uses: j178/prek-action@v1

0 commit comments

Comments
 (0)