From 25b407e03ec10e463843ba00d91ca246993099e5 Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:40:43 +0100 Subject: [PATCH] check towncrier message format in lint ci --- .github/workflows/test_fast.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_fast.yml b/.github/workflows/test_fast.yml index e5d8b56c4fd..914114f131a 100644 --- a/.github/workflows/test_fast.yml +++ b/.github/workflows/test_fast.yml @@ -102,7 +102,8 @@ jobs: - name: Check Towncrier Files run: | - if $(ls changes.d | grep ^[a-z].*.md); then + set -eu pipefail + if ls changes.d | grep ^[a-z].*.md; then echo "the following towncrier files may be wrong:" ls changes.d | grep ^[a-z].*.md exit 1