pre-commit.yaml
This file
Path
.github/workflows/pre-commit.yaml
15 lines · 508 bytes · YAML
Last changed by
set up pre-commit lite workflowDavid Lordbefore adoption0a3b970
History of this fileTake it
set up pre-commit lite workflowDavid Lordbefore adoption0a3b970
lines 1–15why, one step back1on:2 pull_request:3 push:4 branches: [main, '*.x']5jobs:6 main:7 runs-on: ubuntu-latest8 steps:9 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.710 - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.011 with:12 python-version: 3.x13 - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.114 - uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.215 if: ${{ !cancelled() }}