Skip to content

Commit

Permalink
fix(ci): check change tags script (#10803)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Aug 28, 2024
1 parent 36eee37 commit f4bfd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-change-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ 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"
echo "found an invalid file in .changes directory:"
echo "$file"
exit 1
fi
end
done
- uses: dorny/paths-filter@v3
id: filter
Expand Down

0 comments on commit f4bfd07

Please sign in to comment.