Browse Source

fix(ci): check change tags script (#10803)

Lucas Fernandes Nogueira 11 months ago
parent
commit
f4bfd0722e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/check-change-tags.yml

+ 2 - 2
.github/workflows/check-change-tags.yml

@@ -21,7 +21,7 @@ jobs:
 
 
       - name: check change files end with .md
       - name: check change files end with .md
         run: |
         run: |
-          for file in .changes
+          for file in .changes/*
           do
           do
             if [[ ! "$file" =~ \.(md|json)$ ]]; then
             if [[ ! "$file" =~ \.(md|json)$ ]]; then
               echo ".changes directory should only contain files that end with .md"
               echo ".changes directory should only contain files that end with .md"
@@ -29,7 +29,7 @@ jobs:
               echo "$file"
               echo "$file"
               exit 1
               exit 1
             fi
             fi
-          end
+          done
 
 
       - uses: dorny/paths-filter@v3
       - uses: dorny/paths-filter@v3
         id: filter
         id: filter