Create pre-commit.yml

This commit is contained in:
Liora Milbaum 2023-10-30 23:14:39 +02:00 committed by GitHub
parent 3fc799e5cb
commit 520ba88f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
.github/workflows/pre-commit.yml vendored Normal file
View file

@ -0,0 +1,15 @@
---
name: pre_commit
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
jobs:
pre_commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0