Update daily_README.yaml

This commit is contained in:
Alexandre authored and GitHub committed 2022-04-22 21:52:19 +02:00
1 parent 32f9d89507
commit efa05d921b
1 file changed
+4 -2
+4 -2
View File
@@ -21,14 +21,16 @@ jobs:
# Go through all folders, add to filters if not existing
for f in $( find -- * -maxdepth 0 -type d | sort -r ); do
if [ -f "$f"/config.json ]; then
if ! grep -Fxq "$f" ".github/paths-filter.yml"; then
if ! grep "$f" ".github/paths-filter.yml"; then
echo "$f: $f/config.*" >> ".github/paths-filter.yml"
fi
fi
done
# Sort yaml
diff -u <(grep name: ".github/paths-filter.yml") <(grep name: ".github/paths-filter.yml" | sort)
add-apt-repository ppa:rmescandon/yq
sudo apt-get install yq
yq 'sort_keys(.)' ".github/paths-filter.yml"
- name: Create README file
run: |