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

ci: simplify files matching rules

Matching in addition docs/index.md, but it should be fine

Trigger pre-commit jobs when pre-commit-config.yaml changes
parent 3f829bd9
No related branches found
No related tags found
1 merge request!192CI: Trigger mdformat hook on *.md file change
...@@ -13,16 +13,13 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest ...@@ -13,16 +13,13 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
.code_changes: .code_changes:
rules: rules:
- changes: - changes:
- duniterpy/**/*.py - "**.py"
- tests/**/*.py - .pre-commit-config.yaml
- examples/*.py
.changes: .changes:
rules: rules:
- changes: - changes:
- duniterpy/**/*.py - "**.py"
- tests/**/*.py
- examples/*.py
- .gitlab-ci.yml - .gitlab-ci.yml
- Makefile - Makefile
- pyproject.toml - pyproject.toml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment