Skip to content
Myr

pre-commit.yaml

This file

Path

.github/workflows/pre-commit.yaml

16 lines · 526 bytes · YAML

Last changed by

update dev dependenciesDavid Lordbefore adoptionf14b750

History of this file

Take it

set up pre-commit lite workflowDavid Lordbefore adoption4a758f5

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

set up pre-commit lite workflowDavid Lordbefore adoption0a3b970

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

update test workflow triggerDavid Lordbefore adoption02046e7

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

set up pre-commit lite workflowDavid Lordbefore adoption0a3b970

lines 6–9why, one step back
6jobs:
7 main:8 runs-on: ubuntu-latest9 steps:

update dev dependenciesDavid Lordbefore adoptionf14b750

lines 10–11why, one step back
10 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11 - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0

set up pre-commit lite workflowDavid Lordbefore adoption0a3b970

lines 12–14why, one step back
12 with:
13 python-version: 3.x14 - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

Minimal fix to CI (#2884)Rowlando13before adoptionf84395c

line 15why, one step back
15 - uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0

set up pre-commit lite workflowDavid Lordbefore adoption0a3b970

line 16why, one step back
16 if: ${{ !cancelled() }}