From 905b18cdbec12efb051f8ecb4d2d5b0c648be910 Mon Sep 17 00:00:00 2001 From: Abraham Toriz Cruz Date: Sun, 8 Oct 2023 06:27:59 -0600 Subject: [PATCH] Fix incorrect yaml syntax for `ref` in docs (#2518) `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 4d4aca6c2..88343975b 100644 --- a/docs/docs/20-usage/20-pipeline-syntax.md +++ b/docs/docs/20-usage/20-pipeline-syntax.md @@ -373,8 +373,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`