Skip to content

Commit

Permalink
Add github action for pre-commit enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
ddworken committed Sep 23, 2023
1 parent ab12fa4 commit 2608230
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: pre-commit

on:
pull_request:
push:
branches: [ master ]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
extra_args: --all-files

0 comments on commit 2608230

Please sign in to comment.