Add pre-commit workflow
This commit is contained in:
parent
5af8a24a32
commit
c826f10103
1 changed files with 17 additions and 0 deletions
17
.github/workflows/pre-commit.yml
vendored
Normal file
17
.github/workflows/pre-commit.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: pre-commit
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v3
|
||||
- name: pre-commit
|
||||
uses: pre-commit/action@v3.0.1
|
Loading…
Reference in a new issue