From 45f1b8597b7e39fdd2da5408b232fddeace56c5b Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 24 Sep 2023 10:52:55 +0200
Subject: [PATCH] CI: Fix files changes detection

silkaj/wot/revocation.py and tests/unit/wot/test_revocation.py
are not detected as changes by the CI

https://docs.gitlab.com/ee/ci/yaml/#ruleschanges
https://docs.ruby-lang.org/en/master/File.html#method-c-fnmatch
---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bb73015c..d82d76cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,19 +14,23 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
   rules:
     - changes:
       - "**.py"
+      - "**/*.py"
       - .pre-commit-config.yaml
 
 .doc_changes:
   rules:
     - changes:
       - "**.py"
+      - "**/*.py"
       - "**.md"
+      - "**/*.md"
       - .pre-commit-config.yaml
 
 .changes:
   rules:
     - changes:
       - "**.py"
+      - "**/*.py"
       - .gitlab-ci.yml
       - pyproject.toml
 
-- 
GitLab