diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml new file mode 100644 index 0000000..2fb68df --- /dev/null +++ b/.gitea/workflows/lint.yaml @@ -0,0 +1,18 @@ +name: Auto Maintenance Cycle + +on: + push: + workflow_dispatch: + +jobs: + pre-commit-lint: + name: pre-commit Linting + runs-on: pi + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + - run: pip install pre-commit + shell: bash + - name: Pre Commit + run: SKIP=no-commit-to-branch pre-commit run -a + shell: bash