diff --git a/.github/workflows/merge-fancode-playlist.yml b/.github/workflows/merge-fancode-playlist.yml index 2d37eca..b37ad97 100644 --- a/.github/workflows/merge-fancode-playlist.yml +++ b/.github/workflows/merge-fancode-playlist.yml @@ -10,7 +10,7 @@ on: jobs: merge: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Change to a specific version to avoid "waiting" issues steps: - name: Checkout My Repo @@ -26,19 +26,4 @@ jobs: cat fancode_playlist.m3u >> merged_playlist.m3u echo "" >> merged_playlist.m3u echo "# --- Your Playlist: MaskedWolff/maskedwolf ---" >> merged_playlist.m3u - cat my_playlist.m3u >> merged_playlist.m3u - - - name: Commit and Push Merged Playlist - run: | - git config --global user.name "GitHub Actions" - git config --global user.email "github-actions@users.noreply.github.com" - - # Pull the latest changes from the remote repository - git pull origin main --rebase || echo "No rebase needed" - - # Add the merged playlist file - git add merged_playlist.m3u - - # Commit the changes if there are updates - if git diff --cached --quiet; then - echo " + cat my_playlist.m3u_