Skip to content

Commit 416d7f5

Browse files
authored
workflows: Install pre-commit before committing FAQ changes
1 parent 9da4f1a commit 416d7f5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-faq.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ jobs:
2525
uses: actions/setup-python@v5
2626
with:
2727
python-version: '3.x'
28-
- name: Install MkDocs
29-
run: pip install mkdocs
28+
- name: Install MkDocs and pre-commit
29+
run: pip install mkdocs pre-commit
3030
- name: Build docs into faq
3131
run: mkdocs build --config-file mkdocs_remote.yml --site-dir faq
32+
- name: Run pre-commit
33+
run: |
34+
pre-commit run --all-files || true
3235
- name: Commit built FAQ
3336
id: commit
3437
run: |

0 commit comments

Comments
 (0)