From 122815cea7437dfd45118fb8a306ebb831dce616 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 16 Feb 2024 05:40:26 +0100 Subject: [PATCH] Update daily_README.yaml --- .github/workflows/daily_README.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index 558daf615..703077b2c 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -11,34 +11,6 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Update path_filters - run: | - # Init - echo "Starting" - - # 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 - - # Rename Readme - [ -f "$f"/Readme.md ] && mv "$f"/Readme.md "$f"/README.md - - # Add to file - if ! grep "$f:" ".github/paths-filter.yml"; then - echo "$f: $f/config.*" >> ".github/paths-filter.yml" - fi - - # Identify addons with true images - if [ "$(jq '.image' "$f/config.json")" != null ]; then - sed -i "/$f/ s/ # Image : yes//g" ".github/paths-filter.yml" - sed -i "/$f/ s/$/ # Image : yes/" ".github/paths-filter.yml" - fi - fi - done - - # Sort yaml - sort -t= ".github/paths-filter.yml" -o ".github/paths-filter.yml" - - name: Create README file run: | # Init