Skip to content
Myr

pre-commit.yaml

This file

Path

.github/workflows/pre-commit.yaml

16 lines · 526 bytes · YAML

Last changed by

update test workflow triggerDavid Lordbefore adoption5e8cb74

History of this file

Take it

set up pre-commit lite workflowDavid Lordbefore adoption2fec0b2

line 1why, one step back
1name: pre-commit

set up pre-commit lite workflowDavid Lordbefore adoption111e5bd

lines 2–4why, one step back
2on:
3 pull_request:4 push:

update test workflow triggerDavid Lordbefore adoption5e8cb74

line 5why, one step back
5 branches: [main, stable]

set up pre-commit lite workflowDavid Lordbefore adoption111e5bd

lines 6–16why, one step back
6jobs:
7 main:8 runs-on: ubuntu-latest9 steps:10 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.711 - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.012 with:13 python-version: 3.x14 - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.115 - uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.216 if: ${{ !cancelled() }}