Skip to content
Snippets Groups Projects
Commit 015192d0 authored by Moul's avatar Moul
Browse files

ci: Trigger pre-commit:hooks job when *.md file changes

Specially for mdformat hook
parent 64079233
No related branches found
No related tags found
1 merge request!192CI: Trigger mdformat hook on *.md file change
......@@ -16,6 +16,13 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
- "**.py"
- .pre-commit-config.yaml
.doc_changes:
rules:
- changes:
- "**.py"
- "**.md"
- .pre-commit-config.yaml
.changes:
rules:
- changes:
......@@ -79,7 +86,7 @@ mypy:
pre-commit:hooks:
extends:
- .code_changes
- .doc_changes
- .pre-commit
stage: checks
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment