diff --git a/.forgejo/workflows/validate.yaml b/.forgejo/workflows/validate.yaml index 0014c8d..8cebef7 100644 --- a/.forgejo/workflows/validate.yaml +++ b/.forgejo/workflows/validate.yaml @@ -31,18 +31,11 @@ jobs: - name: Split into group playlists run: node .forgejo/scripts/split-m3u.js mystique.m3u - - - name: Commit changes to main playlist file + + - name: Commit changes to files run: | git config --global user.name 'Forgejo Actions Bot' git config --global user.email 'forgejo-actions[bot]@noreply.forgejo.org' - git add mystique.m3u - git diff --quiet && git diff --staged --quiet || (git commit -m "Auto-format and sort M3U file") - - - name: Commit changes to specific country files - run: | - git config --global user.name 'Forgejo Actions Bot' - git config --global user.email 'forgejo-actions[bot]@noreply.forgejo.org' - git add countries - git diff --quiet && git diff --staged --quiet || (git commit -m "Update of country specific playlists" && git push) + git add . + git diff --quiet && git diff --staged --quiet || (git commit -m "Automated updates of M3U Files" && git push)