diff --git a/core/modules/comment/config/schema/comment.schema.yml b/core/modules/comment/config/schema/comment.schema.yml
index 59900c1..4d482c1 100644
--- a/core/modules/comment/config/schema/comment.schema.yml
+++ b/core/modules/comment/config/schema/comment.schema.yml
@@ -36,7 +36,7 @@ action.configuration.comment_unpublish_by_keyword_action:
       type: sequence
       label: 'Keywords'
       sequence:
-        - type: sequence
+        - type: string
           label: 'Keyword'
 
 action.configuration.comment_unpublish_action:
diff --git a/core/modules/node/config/schema/node.schema.yml b/core/modules/node/config/schema/node.schema.yml
index 81e0977..587d3e3 100644
--- a/core/modules/node/config/schema/node.schema.yml
+++ b/core/modules/node/config/schema/node.schema.yml
@@ -124,7 +124,7 @@ action.configuration.node_unpublish_by_keyword_action:
       type: sequence
       label: 'Keywords'
       sequence:
-        - type: sequence
+        - type: string
           label: 'Keyword'
 
 block.settings.node_syndicate_block:
