From 4c4b5f74926f3664d2b91cd41ede429f6df7dadd Mon Sep 17 00:00:00 2001 From: SpaceMonkey Date: Wed, 29 Jan 2025 20:12:43 -0300 Subject: [PATCH] Update .forgejo/workflows/validate.yaml --- .forgejo/workflows/validate.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) 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)