From 7bd78d7bc04a75bc9f9bf885cf5a88493831e63c Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 2 Aug 2021 22:02:53 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 4222339ce..52497dd15 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -15,7 +15,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: branch: 'bot/auto-update' - remove-duplicates: + format: runs-on: ubuntu-latest needs: create-branch steps: @@ -25,20 +25,20 @@ jobs: ref: bot/auto-update - name: Install Dependencies run: npm install - - name: Remove Duplicates - run: node scripts/remove-duplicates.js + - name: Format Playlists + run: node scripts/format.js - name: Commit Changes uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: '[Bot] Remove duplicates' + commit_message: '[Bot] Formate playlists' commit_user_name: iptv-bot commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' branch: bot/auto-update file_pattern: channels/* - format: + remove-duplicates: runs-on: ubuntu-latest - needs: remove-duplicates + needs: format steps: - name: Checkout uses: actions/checkout@v2 @@ -46,12 +46,12 @@ jobs: ref: bot/auto-update - name: Install Dependencies run: npm install - - name: Format Playlists - run: node scripts/format.js + - name: Remove Duplicates + run: node scripts/remove-duplicates.js - name: Commit Changes uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: '[Bot] Formate playlists' + commit_message: '[Bot] Remove duplicates' commit_user_name: iptv-bot commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com commit_author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' @@ -59,7 +59,7 @@ jobs: file_pattern: channels/* sort: runs-on: ubuntu-latest - needs: format + needs: remove-duplicates steps: - name: Checkout uses: actions/checkout@v2