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

ci: trigger job when there is a doc change

otherwise the MR can’t be merged
parent da432484
No related branches found
No related tags found
1 merge request!225Remove Windows pip installation doc, Introduce pipx doc
Pipeline #17644 passed
...@@ -17,6 +17,16 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest ...@@ -17,6 +17,16 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
- tests/**/*.py - tests/**/*.py
- .pre-commit-config.yaml - .pre-commit-config.yaml
.doc_changes:
rules:
- changes:
- silkaj/**/*.py
- tests/**/*.py
- doc/*.md
- README.md
- CONTRIBUTING.md
- .pre-commit-config.yaml
.changes: .changes:
rules: rules:
- changes: - changes:
...@@ -88,7 +98,7 @@ pyupgrade: ...@@ -88,7 +98,7 @@ pyupgrade:
pre-commit:hooks: pre-commit:hooks:
extends: extends:
- .code_changes - .doc_changes
- .pre-commit - .pre-commit
stage: checks stage: checks
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment