From c068fae5d1b717ac62c76ff3225211d6736cbc2a Mon Sep 17 00:00:00 2001 From: freearhey Date: Thu, 6 May 2021 18:42:13 +0300 Subject: [PATCH] Update clean.yml --- .github/workflows/clean.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index e71508e7c3..69eb9a8808 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -10,13 +10,13 @@ jobs: strategy: matrix: country: [ - ad, - ae, - af, - al, - am, - ao, - ar + ad + # ae, + # af, + # al, + # am, + # ao, + # ar # at, # au, # aw, @@ -172,16 +172,17 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - with: - ref: bot/patch-${{ github.run_number }} + - name: Create Branch + run: | + git config user.name github-actions + git config user.email github-actions@github.com + git checkout -b bot/patch-1 - name: Install Dependencies run: npm install - name: Remove Broken Links run: node scripts/clean.js --country=${{ matrix.country }} - name: Commit Changes run: | - git config user.name github-actions - git config user.email github-actions@github.com git add . git diff-index --quiet HEAD || git commit -m "[Bot] Update ${{ matrix.country }}.m3u" git pull @@ -193,7 +194,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - ref: bot/patch-${{ github.run_number }} + ref: bot/patch-1 - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: