Update .forgejo/workflows/validate.yaml

This commit is contained in:
SpaceMonkey 2025-01-29 20:12:43 -03:00
parent 6041998339
commit 4c4b5f7492

View file

@ -32,17 +32,10 @@ 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)