Skip to content

Commit

Permalink
set up pre-commit lite workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Sep 1, 2024
1 parent cd74006 commit 4c49d23
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
pull_request:
push:
branches: [main, '*.x']
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.x
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.2
if: ${{ !cancelled() }}

0 comments on commit 4c49d23

Please sign in to comment.