diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 7ce3811f83..d4bc28679b 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -376,7 +376,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: - ref: master + fetch-depth: 0 - name: Generate Token uses: tibdex/github-app-token@v1 id: generate-token @@ -394,7 +394,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: true + delete-branch: false + base: master token: ${{ steps.generate-token.outputs.token }} - name: Enable Pull Request Automerge if: steps.pr.outputs.pull-request-operation == 'created'