We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd54297 commit 9062f12Copy full SHA for 9062f12
.github/workflows/pre-commit.yml
@@ -0,0 +1,19 @@
1
+name: pre-commit
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ pre-commit:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v6
11
+ with:
12
+ fetch-depth: 0
13
14
+ - uses: actions/setup-python@v6
15
16
+ - uses: pre-commit/action@v3.0.1
17
18
+ # only run on files changed in this PR
19
+ extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}
.github/workflows/ruff.yml
.pre-commit-config.yaml
@@ -52,7 +52,7 @@ repos:
52
- id: ruff-format
53
54
- repo: https://github.com/igorshubovych/markdownlint-cli
55
- rev: v0.47.0
+ rev: v0.44.0
56
hooks:
57
- id: markdownlint
58
args: [ "--config", ".markdownlint.yaml" ]
0 commit comments