diff --git a/.github/workflows/cbor_test.yml b/.github/workflows/cbor_test.yml
index a00775242c46b673c1ba84218177c333c0a11125..84625c8557849cdff76d646f456bcc4e7904a2fd 100644
--- a/.github/workflows/cbor_test.yml
+++ b/.github/workflows/cbor_test.yml
@@ -3,7 +3,7 @@ name: CBOR tests
 on:
   push:
     paths:
-      - 'libraries/cbor/**/*'
+      - 'libraries/cbor/**'
   pull_request:
     types: [opened, synchronize, reopened]
 
diff --git a/.github/workflows/crypto_test.yml b/.github/workflows/crypto_test.yml
index 790bee24a1099bb1cd61f80298971582219a0c40..a8796611af440cc4003fee3af65f86b97cbc47f3 100644
--- a/.github/workflows/crypto_test.yml
+++ b/.github/workflows/crypto_test.yml
@@ -3,11 +3,11 @@ name: Crypto library tests
 on:
   push:
     paths:
-      - 'libraries/crypto/**/*'
+      - 'libraries/crypto/**'
   pull_request:
     types: [opened, synchronize, reopened]
     paths:
-      - 'libraries/crypto/**/*'
+      - 'libraries/crypto/**'
 
 jobs:
   crypto_test: