cI: exclude incompatible test
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 25aaff6..f343f53 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,6 +26,10 @@
             awesome,
             substitutions,
           ]
+        exclude:
+          # In substitution example we use `string_keyed_label_dict`, which is not supported in bazel 7.0.0
+          - bazel: 7.0.0
+            subdir: substitutions
     runs-on: ${{ matrix.os }}
 
     steps:
diff --git a/examples/substitutions/README.md b/examples/substitutions/README.md
index cb6c23c..3da5aae 100644
--- a/examples/substitutions/README.md
+++ b/examples/substitutions/README.md
@@ -83,6 +83,10 @@
 )
 ```
 
+> [!IMPORTANT]  
+> The `string_keyed_label_dict` attribute is not available in bazel 7.0.0.
+> As an alternative, you can use two lists, one for the keys (strings) and one for the values (labels).
+
 Finally, the substitution rule can be used as a toolchain in the doxygen rule.
 
 All configurations using the make variable syntax will be replaced with the values defined in the make_var_substitution rule.