Skip to content

Commit d345cf6

Browse files
add pre-commit workflow
Signed-off-by: Michael Clifford <mcliffor@redhat.com>
1 parent c9f101b commit d345cf6

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+
- main
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: 3.13
19+
20+
- name: Run pre-commit
21+
uses: pre-commit/action@v3.2.0

0 commit comments

Comments
 (0)