From a2a44425e735fd9325bb424322b38471c1916420 Mon Sep 17 00:00:00 2001 From: freearhey Date: Thu, 6 May 2021 19:19:58 +0300 Subject: [PATCH] Update clean.yml --- .github/workflows/clean.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index 14f160497..3054d5d25 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -184,10 +184,12 @@ jobs: - name: Commit Changes run: | git add . - git diff-index --quiet HEAD || git commit -m "[Bot] Update ${{ matrix.country }}.m3u" - git config pull.rebase false - git pull origin bot/patch-1 - git push -u origin bot/patch-1 + git commit -m "[Bot] Update ${{ matrix.country }}.m3u" + - name: Push Changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: bot/patch-1 # create-pr: # runs-on: ubuntu-latest # needs: update