From d5fdfb3afbb795a6d19e912094454f6dd1e96ed7 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 3 Aug 2021 06:20:11 +0300 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 83daf3a77..5afdc9a9e 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -376,8 +376,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - ref: master - fetch-depth: 0 + ref: bot/auto-update - name: Generate Token uses: tibdex/github-app-token@v1 id: generate-token @@ -394,8 +393,8 @@ jobs: [1]: https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }} author: 'iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>' - branch: bot/auto-update - delete-branch: false + delete-branch: true + base: origin/master token: ${{ steps.generate-token.outputs.token }} - name: Enable Pull Request Automerge if: steps.pr.outputs.pull-request-operation == 'created'