Skip to content

Commit

Permalink
add gh actions for pre-commit checks on template
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Sep 20, 2023
1 parent db0f605 commit eebb4d7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pre-commit-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# used for running pre-commit checks
name: pre-commit checks

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
run_pre_commit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: pre-commit/[email protected]

0 comments on commit eebb4d7

Please sign in to comment.