diff --git a/pom.xml b/pom.xml
index 1bb3b143dfb11..392da4a69d07e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1537,7 +1537,7 @@ flexible messaging model and an intuitive client API.
**/django/stats/migrations/*.py
site2/**
generated-site/**
- .github/*.md
+ **/*.md
**/.idea/**
**/.mvn/**
**/generated/**
@@ -1671,7 +1671,7 @@ flexible messaging model and an intuitive client API.
**/_helpers.tpl
- *.md
+ **/*.md
.github/**
**/*.nar
**/.terraform/**