Skip to content

Commit c51c491

Browse files
Only run hook on push v2
1 parent f330d51 commit c51c491

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,4 @@ jobs:
189189
run: |
190190
. venv/bin/activate
191191
cd doc
192-
pre-commit run --hook-stage manual sphinx-generated-doc --all-files
192+
make html

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ repos:
8080
entry: make -C doc/ html
8181
pass_filenames: false
8282
language: system
83-
stages: [manual]
83+
stages: [push]
8484
- id: fix-documentation
8585
name: Fix documentation
8686
entry: python3 -m script.fix_documentation

0 commit comments

Comments
 (0)