From e774a9d6413ff80e8d8fb400523ab8ed497a4b2e Mon Sep 17 00:00:00 2001 From: Abraham Toriz Cruz Date: Mon, 2 Oct 2023 23:16:55 -0600 Subject: [PATCH] Fix incorrect yaml syntax for `ref` in docs `when` contents for the `ref` option were written as a mapping, but it must be a list. --- docs/docs/20-usage/20-pipeline-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/20-usage/20-pipeline-syntax.md b/docs/docs/20-usage/20-pipeline-syntax.md index c890e34c66..ed042b3587 100644 --- a/docs/docs/20-usage/20-pipeline-syntax.md +++ b/docs/docs/20-usage/20-pipeline-syntax.md @@ -348,8 +348,8 @@ This allows you to filter, for example, tags that must start with **v**: ```yaml when: - event: tag - ref: refs/tags/v* + - event: tag + ref: refs/tags/v* ``` #### `status`