mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-19 13:26:03 -05:00
Add pre-commit (#140)
* Add pre-commit config files * Add linting test on github action
This commit is contained in:
15
.github/workflows/lint_test.yml
vendored
Normal file
15
.github/workflows/lint_test.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- uses: pre-commit/action@v2.0.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user