Skip to content

Commit

Permalink
feat(ci): add github action to run pre-commit
Browse files Browse the repository at this point in the history
Adds github action to run pre-commit hooks and fail if hooks fail
  • Loading branch information
bj00rn committed Jul 30, 2023
1 parent d1d0f73 commit f8296ce
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0

0 comments on commit f8296ce

Please sign in to comment.