Skip to content

Commit 3fbed19

Browse files
committed
ci: use shared reusable pre-commit workflow
1 parent 6512589 commit 3fbed19

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1+
---
12
name: Pre-commit
23

3-
on:
4+
"on":
45
push:
56
branches: [main]
67
pull_request:
78
branches: [main]
89

910
jobs:
1011
pre-commit:
11-
runs-on: ubuntu-latest
12-
timeout-minutes: 10
13-
steps:
14-
- uses: actions/checkout@v6
15-
- uses: actions/setup-python@v5
16-
with:
17-
python-version: "3.x"
18-
- uses: pre-commit/action@v3.0.1
12+
uses: Baker-scripts/.github/.github/workflows/pre-commit.yml@main

0 commit comments

Comments
 (0)