Skip to content
Myr

pre-commit.yaml

This file

Path

.github/workflows/pre-commit.yaml

16 lines · 526 bytes · YAML

Last changed by

update minimum dependencies (#5624)David Lordbefore adoption62c56e0

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–9why, one step back
6jobs:
7 main:8 runs-on: ubuntu-latest9 steps:

update minimum dependencies (#5624)David Lordbefore adoption62c56e0

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

set up pre-commit lite workflowDavid Lordbefore adoption111e5bd

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

update minimum dependencies (#5624)David Lordbefore adoption62c56e0

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

set up pre-commit lite workflowDavid Lordbefore adoption111e5bd

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