mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-29 03:33:58 +01:00
8f228d6844
* Add pre-commit config files * Add linting test on github action
16 lines
274 B
YAML
16 lines
274 B
YAML
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 }}
|