From f4bfd0722e988ba59c4b8243645d050e805d985e Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Tue, 27 Aug 2024 21:20:45 -0300 Subject: [PATCH] fix(ci): check change tags script (#10803) --- .github/workflows/check-change-tags.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-change-tags.yml b/.github/workflows/check-change-tags.yml index 9f639f217a0b..d10c5a09912b 100644 --- a/.github/workflows/check-change-tags.yml +++ b/.github/workflows/check-change-tags.yml @@ -21,7 +21,7 @@ jobs: - name: check change files end with .md run: | - for file in .changes + for file in .changes/* do if [[ ! "$file" =~ \.(md|json)$ ]]; then echo ".changes directory should only contain files that end with .md" @@ -29,7 +29,7 @@ jobs: echo "$file" exit 1 fi - end + done - uses: dorny/paths-filter@v3 id: filter